Webmastersite.net
Register Log In

Another generate html question

Comments on Another generate html question

morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Mar 03, 2005 - 6:01 AM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 03, 2005 - 9:19 AM:

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.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Mar 03, 2005 - 11:52 AM:

Thanks for replying

Changed but still the same. sad
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Mar 04, 2005 - 4:21 AM:

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



morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Mar 04, 2005 - 8:38 AM:

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.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 04, 2005 - 1:04 PM:

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.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Mar 04, 2005 - 8:23 PM:

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!
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 04, 2005 - 11:34 PM:

I think the comments ought to not generate if the switch is off, but there's no option to stop generating link details.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 04, 2005 - 11:38 PM:

I think the comments ought to not generate if the switch is off, but there's no option to stop generating link details.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
#10 - Quote - Permalink
Posted Mar 05, 2005 - 9:16 AM:

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?
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
#11 - Quote - Permalink
3 of 6 people found this comment helpful
Posted Mar 05, 2005 - 2:59 PM:

How do you use the html pages?





morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
#12 - Quote - Permalink
0 of 3 people found this comment helpful
Posted Mar 05, 2005 - 3:22 PM:

Hi Rik,

html means i use the generate html feature on the admin function to build all pages in html format.
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
#13 - Quote - Permalink
3 of 6 people found this comment helpful
Posted Mar 06, 2005 - 12:05 PM:

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?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#14 - Quote - Permalink
3 of 5 people found this comment helpful
Posted Mar 06, 2005 - 2:42 PM:

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.)
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
#15 - Quote - Permalink
0 of 3 people found this comment helpful
Posted Mar 06, 2005 - 3:34 PM:

Thanks Paul.

I can delete that folder now. : )

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.