xxxx.html , notwork !?

Powerfull XFileSharing version

Moderator: admin

Message
Author
ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

xxxx.html , notwork !?

#1 Postby ALMGHARI » Sep 16, 2008 12:28 am

Hello,

please, this links in my script not working
xxxx.html or xxxx.htm
ex: http://arabsh.com/6k874y3kiq9s.html
I delete .html , work ! ex: http://arabsh.com/6k874y3kiq9s

But this links, no any problems xxxx/file.zip,html or xxxx
ex: http://arabsh.com/3kl3928dl654
or http://arabsh.com/wqafcyh8221h/1.rar.html

Please, What is the problem ?
I want this links format site.com/xxxx.html is working in my script

I wait your reply, Thanks

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Sep 16, 2008 2:22 pm

ooops, looks like a bug.
Use this rewrite rule instead old one in .htaccess in htdocs:

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]

ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

#3 Postby ALMGHARI » Sep 16, 2008 5:31 pm

:)

Thank for you Pilgrim
Good now
http://arabsh.com/8royev5jrbba.html

I added this line in .htaccess

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]

I love you :)


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest