|
Haven't registered yet? Do it here now!
|
tgs
Joined: 25 Jul 2006 Posts: 175
|
|
|
|
|
|
|
Posted: Wed Aug 09, 2006 3:21 pm Post subject: Htaccess problem |
|
|
|
|
|
|
|
|
|
|
I uploaded my .htaccess but i get a 500 error
Everything is uploaded in the root directory (nothing's chomded)
Here is the .htaccess file i used (taken from the script)
RewriteEngine On
RewriteRule mysite_([0-9]+).html bopost.php?post=$1
RewriteRule archives-([0-9]+)-([0-9]+)-([0-9]+) archives.php?blog=72&arc=$1-$2-$3
RewriteRule pages-([0-9]+) http://www.mysite.com/boarchives.php?blog=1&page=$1
So right now it's working but with this .htaccess
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mysite.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|wmv|mpeg|mpg)$ - [F,NC]
(htaccess against hotlinking)
I have sent you an email about it but alos started a thread in here in case it happens to someone else |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Wed Aug 09, 2006 3:23 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
replied to your email buddy, you should not use spaces in your Links Format for your blogs. Htacces doesn't like space _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
|
|