XFileSharing Pro - How to make additional html page

Message
Author
nokiacare
Posts: 15
Joined: May 13, 2009 5:20 pm

How to make additional html page

#1 Postby nokiacare » May 18, 2009 5:54 pm

How to create additional html page.i want to add search option page.

I try to created html file and put cgi-bin/Templates folder

Got No such user exist error

Pls help me

SayUNKLE
Posts: 22
Joined: Apr 01, 2009 9:18 am

#2 Postby SayUNKLE » May 18, 2009 6:38 pm

I believe you can place any additional pages in the Languages folder

From Install text:
Also you can put any .html pages in Templates/Pages/LANGUAGE/ folder and access them via URL: http://YOURSITE.com/pages/NEWPAGE.html where NEWPAGE.html is your file.

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#3 Postby GMC » Sep 01, 2009 8:57 am

I get a 404 error with my new page

I have tried everything

.htaccess problem?

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

#4 Postby PilgrimX182 » Sep 01, 2009 7:47 pm

Will check this tomorrow, could be the problem, sorry.

castledracula
Posts: 14
Joined: Aug 24, 2009 9:51 pm

#5 Postby castledracula » Sep 02, 2009 1:42 am

GMC wrote:I get a 404 error with my new page

I have tried everything

.htaccess problem?
I Just Upload a new html page to /cgi-bin/Templates/Pages/English/myfile.html and i had to add this new line to htaccess in the main folder (not cgi-bin)

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

and this works for me

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#6 Postby GMC » Sep 03, 2009 7:38 am

castledracula wrote:
GMC wrote:I get a 404 error with my new page

I have tried everything

.htaccess problem?
I Just Upload a new html page to /cgi-bin/Templates/Pages/English/myfile.html and i had to add this new line to htaccess in the main folder (not cgi-bin)

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

and this works for me
I tried this but it didnt work

Maybe because my site is in a sub directory

Thanks anyway

Pilgrim - any ideas for me?

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

#7 Postby PilgrimX182 » Sep 03, 2009 12:03 pm

Checked your site, it should be working.

Put your page to \cgi-bin\Templates\Pages\english\page123.html
And then your exact URL will be /file/pages/page123.html

Take care bout case sensitive paths, urls: Pages folder, pages sub-url.

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#8 Postby GMC » Sep 04, 2009 1:36 am

PilgrimX182 wrote:Checked your site, it should be working.

Put your page to \cgi-bin\Templates\Pages\english\page123.html
And then your exact URL will be /file/pages/page123.html

Take care bout case sensitive paths, urls: Pages folder, pages sub-url.
I will try this now

Thanks!

GMC
Posts: 172
Joined: Aug 15, 2009 4:48 am

#9 Postby GMC » Sep 04, 2009 7:43 am

It worked well thanks!

indosatboy
Posts: 2
Joined: Oct 13, 2009 10:57 am

#10 Postby indosatboy » Oct 15, 2009 6:15 am

PilgrimX182 wrote:Checked your site, it should be working.

Put your page to \cgi-bin\Templates\Pages\english\page123.html
And then your exact URL will be /file/pages/page123.html

Take care bout case sensitive paths, urls: Pages folder, pages sub-url.
boss i want to ask you, if i put content pages with extention .php and how to make available and only for premium users can used it??

free users can't access it. please inform me as soon as possible

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

#11 Postby PilgrimX182 » Oct 16, 2009 6:17 am

.php won't work from Templates folder anyway. Only if you put it to htdocs root folder.

technoind
Posts: 38
Joined: Aug 05, 2009 7:04 am

#12 Postby technoind » Nov 12, 2009 3:55 am

wierd it doesn't work for me in any way explained in this thread.. any suggestions ?

thanks