php forum
php mysql forum
php mysql smarty
 
Topic Options
#103883 - 12/17/00 08:29 PM .htaccess
SpAwN Offline
Member

Registered: 07/16/00
Posts: 1051
Loc: Haarlem, The Netherlands
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?

------------------
<IMG SRC=\"http://spawnboard.hypermart.net/Spawny2.gif\" border=0>
_________________________
SpawnBoard | Watercooling Project | UBB v5 Hacks

Top
#103884 - 12/17/00 08:31 PM Re: .htaccess
Asniper Offline
Member

Registered: 10/18/00
Posts: 79
Loc: Brampton, Ontario, Canada
well i had the same problem so i took out the options part and it worked good for me

Top
#103885 - 12/17/00 08:42 PM Re: .htaccess
SpAwN Offline
Member

Registered: 07/16/00
Posts: 1051
Loc: Haarlem, The Netherlands
Hmmm thanks its weird but it works =/

------------------
<IMG SRC=\"http://spawnboard.hypermart.net/Spawny2.gif\" border=0>
_________________________
SpawnBoard | Watercooling Project | UBB v5 Hacks

Top
#103886 - 12/17/00 08:45 PM Re: .htaccess
SpAwN Offline
Member

Registered: 07/16/00
Posts: 1051
Loc: Haarlem, The Netherlands
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/

------------------
<IMG SRC=\"http://spawnboard.hypermart.net/Spawny2.gif\" border=0>
_________________________
SpawnBoard | Watercooling Project | UBB v5 Hacks

Top
#103887 - 12/17/00 08:49 PM Re: .htaccess
SpAwN Offline
Member

Registered: 07/16/00
Posts: 1051
Loc: Haarlem, The Netherlands
Eh i mean a erro 403 if they try acces folders like these

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

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by -=SpAwN=- on December 17, 2000 at 08:56 PM</font>
_________________________
SpawnBoard | Watercooling Project | UBB v5 Hacks

Top
#103888 - 12/17/00 09:23 PM Re: .htaccess
JohnM Offline
Member

Registered: 03/02/00
Posts: 918
Loc: USA!
Put an .htaccess file in that directory:

Order deny,allow
Deny from all

------------------
<IMG SRC="http://www.johnmiller2004.com/images/fish-cross.gif" border=0>

Top
#103889 - 12/17/00 10:24 PM Re: .htaccess
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
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 =]

------------------
<IMG SRC="http://www.liquid2k.com/shadeaux/ubbdev.gif" border=0>
Shad-Stat - Shadeaux Tools
BoardMaster.org

Top
#103890 - 12/18/00 11:05 AM Re: .htaccess
JohnM Offline
Member

Registered: 03/02/00
Posts: 918
Loc: USA!
Quote:
quote:


hmm no ExecCGI?

Options Indexes FollowSymLinks Includes ExecCGI

------------------
<IMG SRC="http://www.johnmiller2004.com/images/fish-cross.gif" border=0>

Top
#103891 - 12/18/00 11:39 AM Re: .htaccess
SpAwN Offline
Member

Registered: 07/16/00
Posts: 1051
Loc: Haarlem, The Netherlands
No guys none of those options will help
I'll put a index.html in all those directorys than....

------------------
<IMG SRC=\"http://spawnboard.hypermart.net/Spawny2.gif\" border=0>
_________________________
SpawnBoard | Watercooling Project | UBB v5 Hacks

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks