Welcome to WebmasterWorld Guest from 18.204.227.250

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Custom Error Pages

I have a .php section in it that's not parsing...

     
8:54 pm on Oct 29, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:52
votes: 0


Hey guys and gals,

I'm having some troubles with some custom error pages of mine. I added this example line of code to my .htaccess:

ErrorDocument 401 http://yourdomain.com/nopassword.html 

Then I uploaded my file. BUT the html file I'm using for this uses some php references and I do have php working everywhere else on my site because I modified .htaccess to do that also.

But for these custom error pages it's not parsing the php. Is it because these interact with the server differently than other pages?

Thank you so much,
-animgirl

9:07 pm on Oct 29, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 19, 2002
posts:1022
votes: 1



Try this:

[httpd.apache.org ]

10:19 pm on Oct 29, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


animgirl,

Also, see this thread - there's a problem with your code above.

[webmasterworld.com...]

Jim

7:49 pm on Oct 30, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 13, 2003
posts:52
votes: 0


Thanks so much, guys!

-animgirl