XFileSharing Pro - how to open file....

Message
Author
Silfro
Posts: 48
Joined: May 16, 2012 1:31 am

how to open file....

#1 Postby Silfro » Jun 27, 2012 3:20 pm

I have put a html file called tool.html into Zemplates/pages/english

now I want to open the file
fsdfdsf.com/tool.html

but it doesnt work.

Why it works with sdfdsfdsf.com/tos.html ?

venture89
Posts: 95
Joined: Aug 30, 2011 12:11 am

#2 Postby venture89 » Jun 27, 2012 6:35 pm

I think you may have to edit the .htaccess file in the public-html folder.

Silfro
Posts: 48
Joined: May 16, 2012 1:31 am

#3 Postby Silfro » Jun 27, 2012 6:37 pm

thank you

randy
Posts: 321
Joined: Mar 13, 2012 7:00 pm

#4 Postby randy » Jun 28, 2012 9:13 am

open your .htaccess file from main site and search for following:

RewriteRule ^faq\.html$ /cgi-bin/index.cgi?op=page&tmpl=faq [L]

copy the whole row and make a new row

RewriteRule ^faq\.html$ /cgi-bin/index.cgi?op=page&tmpl=faq [L]

RewriteRule ^tools\.html$ /cgi-bin/index.cgi?op=page&tmpl=tools [L]

you will have to upload the tools.html

to

cgi-bin/Templates/pages/english/tools.html

if you have more languages also upload the tools.html to the other language folders

cgi-bin/Templates/pages/english/tools.html
cgi-bin/Templates/pages/chinese/tools.html
cgi-bin/Templates/pages/arabic/tools.html
....