Webmastersite.net
Register Log In

Generate Html Problem

Comments on Generate Html Problem

morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Feb 15, 2005 - 12:15 PM:

Hi all,

I am using the mod rewrite feature now to generate my directory but i would like to try swtiching to static pages. But when i tried generating the html pages, the pages could not be found. i am using the subdirectories on. Here is the settings:-

Absolute URL Prefix: http://www.mysite.com/test
Directory to write automated HTML to:test
Main index page: Index.html
Categories: index{PAGE}.html
Image Details : image{IMAGEID}.html
Comment Threads: comments{IMAGEID}{IMAGEPAGE}.html
Page Separator: -

When i successfully generated the pages, i can see that the directories and index pages do exist in my ftp but when i tried accessing online like typing http://www.mysite.com/test/mycategory1/index.html or http://www.mysite.com/test/mycategory1/index-2.html. It was 404 error. But i could access the pages when i tried http://www.mysite.com/test/mycategory1/ without the index.html behind. When i asked for support of my host provider, they said the pages are generated dynamically and the userids are different. THat is why i could not access the directory. Can somebody tell mehow to fix this? Please help.

Added: i guess its because of the subdirectory feature because i can get pages if i do not use the subcategories on. But i will get weird urls if i do not use the subcateogry. Like test/My Cat and Cat2.html or something. There will be no slash beneath and the NOTVAR appears for some files. .
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 15, 2005 - 2:17 PM:

Use the chmod utility to chmod files generated by apache. (See archived hacks forum or upgrade to 3.14.)

I'm pretty sure 3.0x had a number of static html generation issues, but you'd have to check the bugfix lists (comments) in the arhives of the member download to be sure (I think I remember those being post-release fixes around 3.11 or so).
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Feb 15, 2005 - 3:29 PM:

Erm paul thx for replyin.

I tried that but still not working. The index.html pages are still not accessible. Others like comment.htm are fine but just not index.html. :< Is upgrading to 3.14 good? i have two sites using wsn links and another one is 3.13 but still when i tried generating html there, its still the same.

And the index.html was showed as file type instead of html format in FTP.
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Feb 15, 2005 - 3:44 PM:

Ok Solved. It seems like i put in index.html(space) instead of index.html in the field. SO that field screws up everything.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 16, 2005 - 10:43 AM:

Will auto-trim spaces in the future.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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