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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-17-2001, 02:54 PM   #1
Xanobyte
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!
Xanobyte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 03:06 PM   #2
dynamite
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).]
dynamite is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 03:37 PM   #3
Xanobyte
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!
Xanobyte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 03:43 PM   #4
dynamite
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.
dynamite is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-17-2001, 03:48 PM   #5
afrocreep
Confirmed User
 
afrocreep's Avatar
 
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!
afrocreep is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2001, 07:13 PM   #6
Xanobyte
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!
Xanobyte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-18-2001, 11:26 PM   #7
Xanobyte
So Fucking Banned
 
Join Date: Aug 2001
Posts: 328
Quote:
Originally posted by dynamite:
...even better - set up .htaccess rules between <directory></directory>... this is even faster than .htaccess file
I really like this.
And no .htaccess for anyone to even try to hack.



------------------
I wanna be a porn webmaster when I grow up!
Xanobyte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-19-2001, 12:18 AM   #8
Xanobyte
So Fucking Banned
 
Join Date: Aug 2001
Posts: 328
Hotlinkers, take note:
The party is over on this server.
(fuckin' bastards.)
Xanobyte is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.