AW: [users@httpd] force 404 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 ErrorDocument 403 /path/to/errorfile/404.html 
see
 http://httpd.apache.org/docs/2.0/custom-error.html

bye

Oliver Schaudt
-----Ursprüngliche Nachricht-----
Von: Uk1ah Sm1th [mailto:ukiah@xxxxxxxxxxxxx]
Gesendet: Mi 15.02.2006 16:29
An: users@xxxxxxxxxxxxxxxx
Betreff: [users@httpd] force 404 error
 
I want to know if it is possible to force a 404 error even when a file
or directory exist. I manage my website using svn. I pull a working copy
into my htdocs directory. This also creates .svn directorys with svn
meta data. Right now they return 403 forbiden. However I would like it
if they could return 404 not found when the directory is typed in to the
address bar. Such as: http://example.com/.svn The file is there, but I
want the user to see a 404. 

Thanks.

Ukiah


-- 
"Well done is better than well said."
             - Benjamin Franklin (1706-1790)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


<<winmail.dat>>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux