apache server restrictions
|
Original Message
|
Name: FBI Agent
Date: May 31, 2004 at 22:57:03 Pacific
Subject: apache server restrictionsOS: WIN XPCPU/Ram: 1.79Ghz/ 384 RAM |
Comment: what are the commands that i would sue in order to block someone from going to a certain part on the site and redirecft them to something else. also, can i restrict access to certain files on the server aswell? FBI_Agent
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Jamie_McCoy
Date: June 1, 2004 at 07:01:31 Pacific
Subject: apache server restrictions |
Reply: (edit)what are the commands that i would sue in order to block someone from going to a certain part on the site and redirecft them to something else. well depends on the filter you want to use? by IP address i suspect if so implement some PHP code that will grab someones IP, and if that IP is one you want blocked, create some code to send them where ever you want also, can i restrict access to certain files on the server aswell? Yeh u can, .htaccess is very useful
Sign Me Guestbook!jaymc.co.nr
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: -Bryan-
Date: June 1, 2004 at 16:55:04 Pacific
Subject: apache server restrictions |
Reply: (edit)The easiest method on Apache is using .htaccess to restrict users by IP. If you're talking about password protecting folders, .htaccess is also the way to go, as PHP (to my knowledge) cannot protect entire folders, just individual files.
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: FBI Agent
Date: June 1, 2004 at 20:52:26 Pacific
Subject: apache server restrictions |
Reply: (edit)well i knew it was .htaccess but i was asking for commands, like what do i put where. i dont know anything about this htaccess except some of what it does and i barely know anything about apache, i think. so if i could get a walk-through on how to do this, that'd be awesome. FBI_Agent
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: charlie1130s
Date: June 2, 2004 at 09:17:52 Pacific
Subject: apache server restrictions |
Reply: (edit)You can do in the httpd.conf file do a <Directory /home/www/> Deny from all all from 192.168.100.100 </Directory> This way it would only allow someone from this pc only. This is one way you could restrict people without having to have them sign it but its not totally secure doing it this way
Report Offensive Follow Up For Removal
|
|
Response Number 6
|
Name: -Bryan-
Date: June 2, 2004 at 12:10:13 Pacific
Subject: apache server restrictions |
Reply: (edit)"all from 192.168.100.100" Should say "allow from 192.168.100.100" There are loads of htaccess tutorials out there, and many things you can do with htaccess. Might want to start here: http://www.freewebmasterhelp.com/tutorials/htaccess
Report Offensive Follow Up For Removal
|
|
Response Number 7
|
Name: FBI Agent
Date: June 2, 2004 at 17:05:39 Pacific
Subject: apache server restrictions |
Reply: (edit)cool. thanks for the site Bryan and thanks for your help charlie, but ill go with the site. FBI_Agent
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: