XFileSharing Pro - 500 error after install

Message
Author
vwebworld
Posts: 17
Joined: Mar 24, 2008 3:55 pm

500 error after install

#1 Postby vwebworld » Aug 24, 2008 1:20 am

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

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 25, 2008 5:27 am

In htdocs/.htaccess try this rule:

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]
instead of old one.
Probably it's already there commented like #Version 1

vwebworld
Posts: 17
Joined: Mar 24, 2008 3:55 pm

same 500 error with version 1

#3 Postby vwebworld » Aug 25, 2008 10:30 am

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

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Aug 26, 2008 9:28 am

If you want me to fix this problem quickly, PM me FTP details, I will check what's wrong there.

vwebworld
Posts: 17
Joined: Mar 24, 2008 3:55 pm

ok

#5 Postby vwebworld » Aug 26, 2008 5:28 pm

PM'd the info.

Thanks, Roland

Qsave
Posts: 12
Joined: Jan 24, 2008 7:42 pm

#6 Postby Qsave » Sep 13, 2008 5:01 pm

I'm having the same issue, that fix does not work for me. Can anyone help me? I sent an email to support yesterday. This is kinda urgent, my site doesn't work!

Thanks

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#7 Postby PilgrimX182 » Sep 15, 2008 6:31 am

PM'd you. We're NOT working on holidays.