.htaccees and 404 pages

  • Thread starter NewestShareware.com - Michael Dulin
  • Start date
N

NewestShareware.com - Michael Dulin

Hi,

My 404 pages are ending up using relative links instead of absolute
and I can't figure out why,

I'm using Apache, but no Cpanel. So my .htacecess looks like this:
# -FrontPage-
==========================
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName sharewarejunkies.com
AuthUserFile
/home/junkies/www/sharewarejunkies.com/_vti_pvt/service.pwd
AuthGroupFile
/home/junkies/www/sharewarejunkies.com/_vti_pvt/service.grp
ErrorDocument 404 /gohome.html
===========================

So if you go to the page gohome.html everything is hunky-dory, but not
if you go to a bad url like:
http://sharewarejunkies.com/00zwd6/koolmovesff.htm

Any ideas?

Thanks,
Mike
 
N

NewestShareware.com - Michael Dulin

Steve
Do your custom error pages have the .shtml extension??

They need to.
Do you mean that instead of:
ErrorDocument 404 /gohome.html

It should be:
ErrorDocument 404 /gohome.shtml

And I should just change the extension on the gohome.html to
gohome.shtml?

Thanks,
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top