XFileSharing Pro - How to change main site

Message
Author
snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

How to change main site

#1 Postby snc » Oct 23, 2010 6:46 pm

I want to change my main site from site where i can upload file to site premium.html(op=payments). I know that i should change something in /cgi-bin/index.cgi but this file is too big and complex for me. Please, give me some advice.

snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

#2 Postby snc » Oct 25, 2010 1:45 pm

Any help?

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#3 Postby komi » Oct 25, 2010 3:06 pm

You have to change it in .htaccess file.

snc
Posts: 43
Joined: Oct 14, 2010 12:51 pm

#4 Postby snc » Oct 25, 2010 7:54 pm

I tried to change RewriteRule ^$ /cgi-bin/index.cgi [L] to /cgi-bin/index.cgi?op=payments but than only this site is showing(i think that for example ^contact\.html$ /cgi-bin/index.cgi?op=contact is than changed to /cgi-bin/index.cgi?op=payments?op=contact ).

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#5 Postby komi » Oct 26, 2010 11:55 am

On line #144 change:

Code: Select all

&UploadForm;
to

Code: Select all

&Payments;


You can also still do it the .htaccess way, if you create additional rules for /?op=... links. But forget that for now.


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests