Forum Moderators: phranque

Message Too Old, No Replies

Custom Error Pages

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

         

animgirl

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

10+ Year Member



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

Robino

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

WebmasterWorld Senior Member 10+ Year Member




Try this:

[httpd.apache.org ]

jdMorgan

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

WebmasterWorld Senior Member 10+ Year Member



animgirl,

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

[webmasterworld.com...]

Jim

animgirl

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

10+ Year Member



Thanks so much, guys!

-animgirl