Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Other Web Development Languages (http://www.programmingforums.org/forum40.html)
-   -   .htaccess error pages (http://www.programmingforums.org/showthread.php?t=5181)

Intimidat0r Jul 30th, 2005 9:12 PM

.htaccess error pages
 
i wasn't sure if this is programming, then i decided it was so here goes:

my /.htaccess file

:

ErrorDocument 401 errordocs/401.php
ErrorDocument 403 errordocs/403.php
ErrorDocument 404 errordocs/404.php
ErrorDocument 500 errordocs/500.php


but then when the user goes to some made up page, it doesn't go to the errordocs/404.php page. it says "No input file specified."

when i trigger a 401 it just gives me the Forbidden page that it shows by default.

anyone know what's wrong?

DaWei Jul 30th, 2005 9:41 PM

You might try

ErrorDocument 403 /errordocs/403.php

and so forth. Is this your own server? If not, do you know for a fact the .htaccess facility is available to you?

Intimidat0r Jul 31st, 2005 4:42 PM

It's a NetworkSolutions.com server.

I guess it's not available. Oh well, doesn't really matter.

stevengs Jul 31st, 2005 4:53 PM

Quote:

Originally Posted by Intimidat0r
It's a NetworkSolutions.com server.

I guess it's not available. Oh well, doesn't really matter.

I would gripe and complain 'til the enable it... or something comparably simple. (but then again, griping and complaining is what I do best ;) "a bitching private is a happy private")

DaWei Jul 31st, 2005 4:59 PM

One often doesn't get all the bells and whistles on a "freebie" site. I don't know if that's what you have or not. I didn't get .htaccess facilities on mine until I moved from the freebie to a paid account. They still don't have mod-rewrite (for anyone). I'm unfamiliar with Network Solutions (beyone their name), so I can't say what their policies are.

Intimidat0r Jul 31st, 2005 6:40 PM

this isn't a freebie site, it's a professional hosting thing for a professional website i am making for a client. i think he pays like $10/month for it.

DaWei Jul 31st, 2005 7:43 PM

I would think you would have the capability, then. You should be able to tell by checking the FAQ that's probably available from your control panel. You could also ask the support people.


All times are GMT -5. The time now is 12:44 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC