PDA

View Full Version : No luck with .htaccess


Paul Hicks
02-18-2007, 02:53 PM
Hi again,

I've been trying various things with the htaccess, like a redirect 301, and most recently, a "notfound" page. I've placed both files [ notfound.html and the .hpaccess in the /big/dom/xchalet... ] as well as the www/ root directory, just to cover all the bases. A typical message is below:

Not Found
The requested URL /html/liviwng_room.shtml was not found on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.chaletbb.ca Port 80

Do I have to turn something on to get things happening?

Thanks, Paul.

www.chaletbb.ca

Melissa
02-18-2007, 02:56 PM
Not Found
The requested URL /html/liviwng_room.shtml was not found on this server.

Looks like you have a typo?
http://www.chaletbb.ca/html/living_room.shtml
(living_room.shtml vs liviwng_room.shtml)

Paul Hicks
02-18-2007, 03:02 PM
Hi Melissa,

Isn't that the point? If it doesn't find the page for whatever reason, it should find the "notfound.html" page?

Paul.

Melissa
02-18-2007, 03:11 PM
Hi Paul,

I just took a look in your account to see what you were doing...

In the .htaccess file that I'm looking at, there is:
### DO NOT EDIT THIS SECTION, CHANGES WILL BE LOST
your code is here...
### CNC_END: END CUSTOM WEBSITE CONFIGURATION

See the other Paul's post:
http://www.aota.net/forums/showthread.php?t=21806

Paul Hicks
02-18-2007, 04:02 PM
Hi again Melissa,

I should have asked this question 3 or 4 days ago, but I wanted to learn about htaccess because it appears that it can be very powerful. I now understand why NOTHING worked in that file, not even the simplest command, nor where the file was placed.

That's an interesting thread in your previous post, and has given me an idea about placing my URL on the John Deere logo graphic that seem to be popular. :-)

Appreciate your help muchly.

Regards, Paul
www.chaletbb.ca

Melissa
02-18-2007, 04:22 PM
:yeah:

You're welcome. :)