Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Post deleted by Bensen

Quote Reply
Post deleted by Bensen
Quote Reply
Re: Have to add /index.html to see updated categories In reply to
Do one or both of the following:

1) Add the following codes to your .htaccess file in your <ROOT> directory:

Code:

DirectoryIndex index.html index.htm /errors/forbidden.html


Then add a directory under <ROOT> directory called errors. Then add a file called forbidden.html in this directory that should include the following Error message:


HTTP ERROR: 403 Forbidden
Directory Browsing in this Directory is turned off


2) Replace the following codes in your sub site_html_print_cat routine in the site_html_templates.pl file:

Code:

$url = "$build_root_url/" . &urlencode($subcat) . "/";


with the following codes:

Code:

$url = "$build_root_url/" . &urlencode($subcat) . "/$build_extension";


Regards,


Eliot Lee
Quote Reply
Re: Have to add /index.html to see updated categories In reply to
G'Day,

Thanks for your reply.

However, I still have the same problems after implementing your suggestions.

I have been running LINKS for a few months without problems.

The home.html category listing is showing the categories as updated if I add a '/' to the domain name.

For instance, the new links and categories does not show up when I browse at the domain in the format of http://www.xxxx.com/

However, if I add another '/' to the domain name (i.e. http://www.xxxx.com//) then the category listing is updated.

I have also changed the CHMOD of the index.html page to 777 in the 'pages' directory.
Do you think that it will help if I re-install LINKS?

Thanks once again for your support. Alex should put you on his payroll........



Quote Reply
Re: Cannot view index page unless adding extra slash / In reply to
Hi again,

I managed to delete some of the sub-categories of one of my categories but it does not appear on the actual index page.

The only way for me to make it appear is to add an extra slash / (i. e. http://www.localhost.com//) I have a similar problem when I access a category page, however I have to delete one slash / instead (i.e. http://www.localhost.com//Cars/ has to be modified to http://www.localhost.com/Cars/).

The Admin panel register all modification but it will not appear on the actual html pages.


Thanks for your support…





Quote Reply
Re: Cannot view index page unless adding extra slash / In reply to
I responded to your duplicate Thread.

Regards,

Eliot Lee