![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Aug 2001
Posts: 328
|
Mod_ReWrite Questions....
Anyone here know how to set up mod_rewrite? It's already set to load in my httpd.conf, but when I stick an .htaccess somewhere, it just bypasses. Or is that normal for local requests?
------------------ I wanna be a porn webmaster when I grow up! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Registered User
Join Date: Aug 2001
Posts: 63
|
Change 'AllowOverride None' to 'AllowOverride All' in access.conf. Or you can set 'All' for just one directory, for example:
<Directory full/path/to/desired/dir> <Limit GET POST> order deny,allow deny from none allow from all </Limit> AllowOverride All </Directory> And even better - set up .htaccess rules between <directory></directory>... this is even faster than .htaccess file! Btw.. <limit> directives are optional. <font size="-3" color=magenta> [This message has been edited by dynamite (edited 08-17-2001).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Aug 2001
Posts: 328
|
Actually, this ver. recommends all directives to be in httpd.conf and leave access.conf empty, but are you saying I have to set up .ht rules for each directory I wanna cover in the virtual container?? Or can I do a blanket directive for the root and if it finds an .htaccess then so be it?
------------------ I wanna be a porn webmaster when I grow up! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Registered User
Join Date: Aug 2001
Posts: 63
|
Just one directive for the whole site can be enough. But if you want to have some directories with .htaccess and some without, then you must make separate 'directory' entries.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Aug 2001
Location: ON, Canada
Posts: 1,074
|
for example
<Directory /home/whatever/*> </Directory> will do that directory and everything under it ------------------ Come home with me or I'll dispatch my legions of flying monkeys! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Banned
Join Date: Aug 2001
Posts: 328
|
Sweeeeeeeeeeet.
I jacked my httpd.conf up a few times fuckin' around with it, (was tryin' to put too many directives in at the same time.) but I finally nailed it down. Thanks guys... ![]() ------------------ I wanna be a porn webmaster when I grow up! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
So Fucking Banned
Join Date: Aug 2001
Posts: 328
|
Quote:
![]() And no .htaccess for anyone to even try to hack. ------------------ I wanna be a porn webmaster when I grow up! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Join Date: Aug 2001
Posts: 328
|
Hotlinkers, take note:
The party is over on this server. (fuckin' bastards.) |
![]() |
![]() ![]() ![]() ![]() ![]() |