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 11-27-2003, 07:55 PM   #1
ramtar
Registered User
 
Join Date: Aug 2002
Location: Venezuela
Posts: 117
htacess question

Ok need some help with htaccess, I have now:

RewriteEngine on
RewriteCond %{TIME_DAY} >1
RewriteRule ^.*index\.html$ %{TIME_DAY}.html

This use the html of the current day(01.htm...31.html) and convert it into:

http://www.bitches-in-heat.net/index.html

But, the problem is that it doesn't work for:

http://www.bitches-in-heat.net/

and all my traffic is pointing there

Any idea how can I fix this?
ramtar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 07:58 PM   #2
lil2rich4u2
ICQ: 175171926
 
Join Date: Oct 2002
Location: New York, NY
Posts: 11,046
Quote:
Originally posted by ramtar
Ok need some help with htaccess, I have now:

RewriteEngine on
RewriteCond %{TIME_DAY} >1
RewriteRule ^.*index\.html$ %{TIME_DAY}.html

This use the html of the current day(01.htm...31.html) and convert it into:

http://www.bitches-in-heat.net/index.html

But, the problem is that it doesn't work for:

http://www.bitches-in-heat.net/

and all my traffic is pointing there

Any idea how can I fix this?
im no good with htaccess so id prolly try to redirect all root traffic to the index.html file where it can be sorted by htaccess.

i prolly misunderstood the question though, a bit tired ATM lol
__________________
HEY!!

Unbeatable hosting! Customer service is top notch!

--> ISPrime <-- Do a search on any board, their reputation is rock solid .. for years!!
lil2rich4u2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 08:03 PM   #3
ramtar
Registered User
 
Join Date: Aug 2002
Location: Venezuela
Posts: 117
cannot do that I will loose trades "ri" information
ramtar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 08:14 PM   #4
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
I would do it like this....

RewriteEngine on
RewriteCond %{TIME_DAY} >1
RewriteCond %{REQUEST_URI} ^/index.html$ [OR]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule .* %{TIME_DAY}.html
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 08:19 PM   #5
ramtar
Registered User
 
Join Date: Aug 2002
Location: Venezuela
Posts: 117
worked thanks a lot dude
ramtar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 08:21 PM   #6
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
np
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 08:48 PM   #7
mryellow
Confirmed User
 
Industry Role:
Join Date: May 2001
Location: Australia
Posts: 934
Hey Swed,

Never noticed that before...

Cool if I add it to my htaccess info page?

http://www.webpimps.com/scripts/htaccess/

-Ben
__________________
Cyberwurx Hosting
After trying 5 different hosts, I found the best.
Since 1997 I've had 2 hours of downtime.
Fast support, great techs, no hype, no gimmicks.

<- I in no way endorse whatever just got stuck on the left of my post.
mryellow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-27-2003, 11:40 PM   #8
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
Quote:
Originally posted by mryellow
Hey Swed,

Never noticed that before...

Cool if I add it to my htaccess info page?

http://www.webpimps.com/scripts/htaccess/

-Ben
Sure, no problem
swedguy 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.