View Single Post
  #6  
Old 16th February 2007, 09:12
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

somethign is wrong around here, do I have to cut away the ' ' around the path of the directory? I tried cutting them away, ispc saves my directive without error but when I go to test the site I am talking about, I get an 500 server error without modifying my .htassess file !? very strange, here is how my .htaccess looks like:

Quote:
DirectoryIndex index.php
# Options -Indexes

# These might give you an error if PHP is not installed as a module.
# php_value upload_max_filesize 200M
# php_value post_max_size 200M
# php_value short_open_tag 1
# For public uploader
RewriteRule ^register/?$ account.php?action=register [L,NC]
RewriteRule ^login/?$ account.php?action=login [L,NC]
RewriteRule ^pupload/?$ public.php [L,NC]
RewriteRule ^pupload/browse(/([0-9]+))?/?$ public.php?action=browse&page=$2 [L,NC]
RewriteRule ^pupload/view/([0-9]+)/?$ public.php?action=view&upload_id=$1 [L,NC]
RewriteRule ^pupload/manage/([0-9]+)/([0-9a-z]+)/?$ public.php?action=manage&upload_id=$1&key=$2 [L,NC]
RewriteRule ^myfiles(/(.*))?$ myfiles.php?folder=$1 [L,NC]
RewriteRule ^upload(/(.*))?$ upload.php?upload_to=$1 [L,NC]
RewriteRule ^members/?$ browse.php [L,NC]
RewriteRule ^members/([0-9]+)/?$ browse.php?page=$1 [L,NC]
RewriteRule ^members/public/?([0-9]+)?/?$ browse.php?public=1&page=$1 [L,NC]
RewriteRule ^members/info/([0-9]+)$ browse.php?action=info&userid=$1 [L,NC]
RewriteRule ^members/browse/([0-9]+)/?(/.+)?$ browse.php?action=browse&userid=$1&folder=$2 [L,NC]
#RewriteRule ^([a-z0-9\_]+)/?$ browse.php?action=browse&username=$1 [L,NC]
you see I commented out some lines and have it working without the directives. If I add in the directive you gave, using this same .htaccess it stops working...
Reply With Quote