Previous Thread
Next Thread
Print Thread
Rate Thread
#103883 12/17/2000 9:29 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
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?

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

Sponsored Links
#103884 12/17/2000 9:31 PM
Joined: Oct 2000
Posts: 51
Member
Member
Offline
Joined: Oct 2000
Posts: 51
well i had the same problem so i took out the options part and it worked good for me

#103885 12/17/2000 9:42 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
Hmmm thanks its weird but it works =/

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

#103886 12/17/2000 9:45 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
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/

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

#103887 12/17/2000 9:49 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
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

Sponsored Links
#103888 12/17/2000 10:23 PM
Joined: Mar 2000
Posts: 615
Member
Member
Offline
Joined: Mar 2000
Posts: 615
Put an .htaccess file in that directory:

Order deny,allow
Deny from all

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

#103889 12/17/2000 11:24 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
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

#103890 12/18/2000 12:05 PM
Joined: Mar 2000
Posts: 615
Member
Member
Offline
Joined: Mar 2000
Posts: 615
Quote
quote:
hmm no ExecCGI?

Options Indexes FollowSymLinks Includes ExecCGI

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

#103891 12/18/2000 12:39 PM
Joined: Jul 2000
Posts: 610
Member
Member
Offline
Joined: Jul 2000
Posts: 610
No guys none of those options will help [Linked Image]
I'll put a index.html in all those directorys than....

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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)