htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: 301/401/501 error redirection
PostPosted: 04 Sep 2008 10:39 
Offline

Joined: 04 Sep 2008 05:24
Posts: 2
hi
I want some information regarding 301 status. I written in htacces file as
ErrorDocument 301 /projectname/folder1/folder2/301.php

How i can test 301 error status in my localhost. How to reproduce that error status.
Actually i have to display some static page when i am getting error codes like 301/401/501...

Whether that static page should be in project folder or out of that folder?
when i am trying to authenticate, then that page is in project folder. its not accessing that page when i am getting 401 error.
Is it access when 301 error also will come? 301 is a moved permanently status code, so where i have to place it in our project, similarly 501 error .........

Some one guide me regarding this...........

Thanks,
Srivalli Ch.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB