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
XFileSharing Pro - How to make additional html page
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.
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.
- PilgrimX182
- Posts: 2187
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 14
- Joined: Aug 24, 2009 9:51 pm
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 workcastledracula 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
Maybe because my site is in a sub directory
Thanks anyway
Pilgrim - any ideas for me?
- PilgrimX182
- Posts: 2187
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 2
- Joined: Oct 13, 2009 10:57 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
- PilgrimX182
- Posts: 2187
- Joined: Mar 22, 2006 1:39 pm