I would like to know why cant i access the pages using www.mysite.com/wsnlinks/htmloutput/Cat1/ ? Instead i have to link the page to www.mysite.com/wsnlinks/htmloutput/Cat1/index.html. I am using the subdirectories (full category paths). I thought Cat1 is a directory and i could access it by typing into the address bar without the index.html.
Anyone experienced with this or did i do something wrong here?
That would be an apache issue. Apparently your server doesn't recognize .html as an index page, it probably wants you to use .htm so you'd have to rename to .htm in your admin panel.
thx for replying. Nothing is wrong with htmloutput/cat1.htm. The thing is i tried to use htmloutput/Cat1/ instead of cat1.htm. I used the subdirectories (full category paths). And i have to link pages to htmloutput/Cat1/index.html in order to access that page and htmloutput/Cat1/ wont work. And Paul said its an apache issue. I have already contacted with my host and told them everything. I even included that i used mod rewrite for my directory. Hope that they can help.
I suppose mod_rewrite could be involved, if it's in a path directly above the direcory you're using. Try editing your .htaccess to do for this directory what it does for the /admin directory.
I guess i fixed the issue by deactivating mod rewrite and renamed the .htaccess back to .txt file. Now i can generate without problems.
One more question is when i make html, i only wanted the category pages to be generated. I already closed the comments system and now i do not want to generate link details pages too as this will save some time generating. Do i make some changes in the makehtml.php file? If so, which line do i change?
Sorry as i have no knowledge of php at all. Pls help.
Yea the comments are not generated but still i would be glad if i can also not generate the details pages. It would take a long time since my directory has over 1500+ link. I have tried to tweak with the makehtml.php but to no success. Any help Paul? or other experts who have done this before?
For most people there is no use. I've never used them for any public application. They're simply for people who either want to distribute on a CD or the like where you can't use dynamic pages or people who want to save server load by using a static directory. (Of course the static page for particular url option as more benefits like rss feeds.)
Comments on Another generate html question
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
I would like to know why cant i access the pages using www.mysite.com/wsnlinks/htmloutput/Cat1/ ? Instead i have to link the page to www.mysite.com/wsnlinks/htmloutput/Cat1/index.html. I am using the subdirectories (full category paths). I thought Cat1 is a directory and i could access it by typing into the address bar without the index.html.
Anyone experienced with this or did i do something wrong here?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That would be an apache issue. Apparently your server doesn't recognize .html as an index page, it probably wants you to use .htm so you'd have to rename to .htm in your admin panel.
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
Thanks for replying
Changed but still the same.
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
On the Home page of my web site, I have links to specific categories in my wsnlinks.
The urls are of the format:
www.twowayradiodirectory.co...com/wsnlinks/Public_Safety
Note there is no / at the end.
This works ok for my site.
Is this the same thing you are trying to do?
I just looked and if I browse directly to the pages in my htmloutput directory this format works:
www.twowayradiodirectory.co...ks/htmloutput/cat13-11.htm
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
Hi rik,
thx for replying. Nothing is wrong with htmloutput/cat1.htm. The thing is i tried to use htmloutput/Cat1/ instead of cat1.htm. I used the subdirectories (full category paths). And i have to link pages to htmloutput/Cat1/index.html in order to access that page and htmloutput/Cat1/ wont work. And Paul said its an apache issue. I have already contacted with my host and told them everything. I even included that i used mod rewrite for my directory. Hope that they can help.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I suppose mod_rewrite could be involved, if it's in a path directly above the direcory you're using. Try editing your .htaccess to do for this directory what it does for the /admin directory.
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
I guess i fixed the issue by deactivating mod rewrite and renamed the .htaccess back to .txt file. Now i can generate without problems.
One more question is when i make html, i only wanted the category pages to be generated. I already closed the comments system and now i do not want to generate link details pages too as this will save some time generating. Do i make some changes in the makehtml.php file? If so, which line do i change?
Sorry as i have no knowledge of php at all. Pls help.
Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I think the comments ought to not generate if the switch is off, but there's no option to stop generating link details.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I think the comments ought to not generate if the switch is off, but there's no option to stop generating link details.
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
Yea the comments are not generated but still i would be glad if i can also not generate the details pages. It would take a long time since my directory has over 1500+ link. I have tried to tweak with the makehtml.php but to no success. Any help Paul? or other experts who have done this before?
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
How do you use the html pages?
Forum Regular
Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Comments: 102
Hi Rik,
html means i use the generate html feature on the admin function to build all pages in html format.
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
I know what building them means. But what is the benefit?
How are they used?
If you did not do it, what difference would it make?
I have a folder of built html pages because I wanted to see what it did. My question is, are they automatically used if you build them?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
For most people there is no use. I've never used them for any public application. They're simply for people who either want to distribute on a CD or the like where you can't use dynamic pages or people who want to save server load by using a static directory. (Of course the static page for particular url option as more benefits like rss feeds.)
Forum Regular
Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC
Total Topics: 23
Total Comments: 161
Thanks Paul.
I can delete that folder now. : )