Jun 14, 2000, 7:06 PM
Veteran (17240 posts)
Jun 14, 2000, 7:06 PM
Post #2 of 5
Views: 1806
Do one or both of the following:
1) Add the following codes to your .htaccess file in your <ROOT> directory:
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:
$url = "$build_root_url/" . &urlencode($subcat) . "/";
with the following codes:
$url = "$build_root_url/" . &urlencode($subcat) . "/$build_extension";
Regards,
Eliot Lee
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
Jun 15, 2000, 2:52 AM
Novice (13 posts)
Jun 15, 2000, 2:52 AM
Post #3 of 5
Views: 1803
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........
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........
Jun 15, 2000, 11:12 AM
Novice (13 posts)
Jun 15, 2000, 11:12 AM
Post #4 of 5
Views: 1800
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…
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…