UBB.Dev
Posted By: SpAwN .htaccess - 12/18/2000 4:29 AM
Hi,

I just placed .htaccess on my root direction.
It works ok for the files in the root direction. But all other directions or files in those directions give me 403 forbidden acces.

This is what i put in the .htaccess :
----------------------------------------------------
ErrorDocument 404 http://spawnboard.hypermart.net/errors/404.html
ErrorDocument 403 http://spawnboard.hypermart.net/errors/403.html
ErrorDocument 500 http://spawnboard.hypermart.net/errors/500.html

Options Indexes FollowSymLinks Includes
addType text/x-server-parsed-html .html
addType text/x-server-parsed-html .htm
addType application/x-httpd-cgi .cgi
addType application/x-httpd-cgi .pl
----------------------------------------------------

And i made those error pages to. and put them in that direction (errors)

Can anyone explain me what i am doing wrong?

------------------
Posted By: Asniper Re: .htaccess - 12/18/2000 4:31 AM
well i had the same problem so i took out the options part and it worked good for me
Posted By: SpAwN Re: .htaccess - 12/18/2000 4:42 AM
Hmmm thanks its weird but it works =/

------------------
Posted By: SpAwN Re: .htaccess - 12/18/2000 4:45 AM
Ok if someone miss type they get 404 but i want also 404 when they try to acces this

http://spawnboard.hypermart.net/ubb/Forum1/HTML/

------------------
Posted By: SpAwN Re: .htaccess - 12/18/2000 4:49 AM
Eh i mean a erro 403 if they try acces folders like these

http://spawnboard.hypermart.net/ubb/Forum1/HTML/

This message has been edited by -=SpAwN=- on December 17, 2000 at 08:56 PM
Posted By: JohnM Re: .htaccess - 12/18/2000 5:23 AM
Put an .htaccess file in that directory:

Order deny,allow
Deny from all

------------------
Posted By: The Team Re: .htaccess - 12/18/2000 6:24 AM
Try ReAdding the Server Parse stuff, BUT Put it Above the Errordoc stuff.

Try to keep the errordoc part on the bottom of the file.

That might work. Lemme know =]

------------------

Shad-Stat - Shadeaux Tools
BoardMaster.org
Posted By: JohnM Re: .htaccess - 12/18/2000 7:05 PM
Quote
quote:
hmm no ExecCGI?

Options Indexes FollowSymLinks Includes ExecCGI

------------------
Posted By: SpAwN Re: .htaccess - 12/18/2000 7:39 PM
No guys none of those options will help [Linked Image]
I'll put a index.html in all those directorys than....

------------------
© UBB.Developers