WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Generate Html Problem

Version: 3.05
printPrint


Generate Html Problem
morton82
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Posts: 102
Posted 02/15/05 - 12:15 PM:
quote post
#1
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. .

Edited by morton82 on 02/15/05 - 12:52 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 02/15/05 - 02:17 PM:
quote post
#2
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).

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
morton82
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Posts: 102
Posted 02/15/05 - 03:29 PM:
quote post
#3
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.

Edited by morton82 on 02/15/05 - 03:41 PM
morton82
Forum Regular
Avatar

Usergroup: Customer
Joined: Jan 21, 2005
Total Topics: 32
Total Posts: 102
Posted 02/15/05 - 03:44 PM:
quote post
#4
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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 02/16/05 - 10:43 AM:
quote post
#5
Will auto-trim spaces in the future.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.