View Single Post
Old 06-26-2008, 12:00 PM  
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
I need some help with my htaccess. Coders and programmers, please help!

This is the deal, I installed WordPress on my server, and wanted the archives and categories to have their own folders, created automatically by WordPress (like www.tranzagals.com/2008/archives-1/).

So I copied the code from WordPress and pasted on my .htaccess

This is the code:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


And this is how my .htaccess file looked like with this addition:

order allow,deny
allow from all

Options +FollowSymLinks

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?tranzagals.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?frenchcum.com(/)?.*$ [NC]
RewriteCond %{REMOTE_ADDR} !^208.99.195.175 [NC]
RewriteRule \.(jpe?g|gif|bmp|png)$ - [F,NC,L]

ErrorDocument 400 http://www.2.livejasmin.com/freechat...psprogram=REVS
ErrorDocument 403 http://www.2.livejasmin.com/freechat...psprogram=REVS
ErrorDocument 404 http://www.2.livejasmin.com/freechat...psprogram=REVS
ErrorDocument 500 http://www.2.livejasmin.com/freechat...psprogram=REVS
ErrorDocument 501 http://www.2.livejasmin.com/freechat...psprogram=REVS
ErrorDocument 503 http://www.2.livejasmin.com/freechat...psprogram=REVS

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


But it seems that immediately after I uploaded this file, my server started to respond real slow, and eventually all my sites on that server was down.

Do you guys know what I did wrong? Or what might have caused this?

Thanks for the help guys!
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote