I want to install xfilesharing Pro into a sub directory "/vids".
I copied the provided cgi-bin files and folders to my cgi bin folder in my public_html directory.
I copied the htdocs files and folders to a sub directory "/vids" (instead of root public_html directory).
I pointed my browser to /vids/files/index.html and got 500 error.
Error log:
[Sat Aug 23 21:02:58 2008] [alert] [client 66.31.240.237] /home/xxxxxx/public_html/vids/files/.htaccess: RewriteRule: cannot compile regular expression '^down/(.+)/(.+?)$'\n
This seems to be in the htaccess in the /files folder NOT in the htaccess in the htdocs folder.
What's the fix?
~Roland
XFileSharing Pro - 500 error after install
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
In htdocs/.htaccess try this rule:
instead of old one.
Probably it's already there commented like #Version 1
Code: Select all
RewriteRule ^([0-9A-Za-z\-_]*)/?([0-9A-Za-z]{12})/([^\/]*)(\.html?|$)$ /cgi-bin/index.cgi?op=download1&usr_login=$1&id=$2&fname=$3 [L]
Probably it's already there commented like #Version 1
same 500 error with version 1
Using version 1. I get the same error:
[Mon Aug 25 06:22:42 2008] [alert] [client 66.31.240.237] /home/xxxxxx/public_html/vids/files/.htaccess: RewriteRule: cannot compile regular expression '^down/(.+)/(.+?)$'\n
This htaccess code looks like it is in the htaccess file in the "/files" folder, not the htaccess file I just schanges (with version 1 and version 2).
Note: I put the htdoc into a sub folder "/vids", as I want xfileshare pro to be in a sub directory.
~Roland
[Mon Aug 25 06:22:42 2008] [alert] [client 66.31.240.237] /home/xxxxxx/public_html/vids/files/.htaccess: RewriteRule: cannot compile regular expression '^down/(.+)/(.+?)$'\n
This htaccess code looks like it is in the htaccess file in the "/files" folder, not the htaccess file I just schanges (with version 1 and version 2).
Note: I put the htdoc into a sub folder "/vids", as I want xfileshare pro to be in a sub directory.
~Roland
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm