| View previous topic :: View next topic |
| Author |
Message |
vwebworld
Joined: 24 Mar 2008 Posts: 13
|
Posted: Aug 24, 2008 1:20 am Post subject: 500 error after install |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1055 Location: Undisclosed location
|
Posted: Aug 25, 2008 5:27 am Post subject: |
|
|
In htdocs/.htaccess try this rule:
| Code: | | 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 |
|
| Back to top |
|
 |
vwebworld
Joined: 24 Mar 2008 Posts: 13
|
Posted: Aug 25, 2008 10:30 am Post subject: 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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1055 Location: Undisclosed location
|
Posted: Aug 26, 2008 9:28 am Post subject: |
|
|
| If you want me to fix this problem quickly, PM me FTP details, I will check what's wrong there. |
|
| Back to top |
|
 |
vwebworld
Joined: 24 Mar 2008 Posts: 13
|
Posted: Aug 26, 2008 5:28 pm Post subject: ok |
|
|
PM'd the info.
Thanks, Roland |
|
| Back to top |
|
 |
Qsave
Joined: 24 Jan 2008 Posts: 11
|
Posted: Sep 13, 2008 5:01 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1055 Location: Undisclosed location
|
Posted: Sep 15, 2008 6:31 am Post subject: |
|
|
| PM'd you. We're NOT working on holidays. |
|
| Back to top |
|
 |
|