XFileSharing Pro - Step 1) - 500 error

Message
Author
ttanemori
Posts: 8
Joined: May 30, 2008 10:41 pm

Step 1) - 500 error

#1 Postby ttanemori » Jun 05, 2008 8:14 pm

I am trying to install it on HostGator's shared hosing account, but at the very beginning of the steps, I got stuck.

I comment out each by each in .htaccess, but I coud not figure out which line is causing this. Here is a log from the server.

[Thu Jun 5 14:52:21 2008] [alert] [client 70.21.xxx.xxx] /home/my_user_name/public_html/my_domain/.htaccess: RewriteRule: cannot compile regular expression '^([0-9A-Za-z\\-_]*)/?([0-9A-Za-z]{12})(/[^\\/]*|)(\\.html?|$)$'\n

Can anybody help me?

Thank you very much.

James
Posts: 1
Joined: Jun 05, 2008 10:00 pm

#2 Postby James » Jun 05, 2008 10:01 pm

I'm not sure if you're allowed to run scripts like this with hostgator.

ttanemori
Posts: 8
Joined: May 30, 2008 10:41 pm

#3 Postby ttanemori » Jun 05, 2008 11:21 pm

Hello. HostGator responded to my question.

The server is throwing this error:
[Thu Jun 5 17:25:41 2008] [alert] [client 216.110.xxx.xxx] /home/my_account/public_html/my_domain/.htaccess: RewriteRule: cannot compile regular expression '^([0-9A-Za-z\\-_]*)/?([0-9A-Za-z]{12})(/[^\\/]*|)(\\.html?|$)$'\n

The error is coming from .htaccess in the root directory. But, I think this is the original file that I got from SibSoft. Does anybody know solution?

Thank you very much

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

#4 Postby PilgrimX182 » Jun 06, 2008 6:23 am

in htdocs/.htaccess find

Code: Select all

(/[^\\/]*|)
and replace this part
with

Code: Select all

(/[^\\/]*|$)
($ added in the end)

ttanemori
Posts: 8
Joined: May 30, 2008 10:41 pm

Different Behavior

#5 Postby ttanemori » Jun 06, 2008 8:08 pm

Now, I do not see any 505 error.

What is the correct result when I try to open "/files/index.html"?

HostGator's shared server shows "XFS" text on a plain page. My another server showed download dialog window.

As you know, I can use only one key. I am worried about which server is working right. Of course, I would like to use HostGator's if possible.

Thank you.