I'm baaaack :-(
I am still having some problems with Rewrite rule, but it is different now...
It is actually more of a CSS problem.
During the process of trying getting Rewrite to work,
I renamed the directory that GLinks saves html files to.
It used to be: www/http/links_html
I renamed it to: www/http/links
I updated ALL the paths and urls in the admin to reflect the change.
With the following rules in place, the site displays with correct CSS,
BUT I get a 404 Not Found error when clicking on New, Cool and others.
RewriteEngine On
RewriteRule ^$ /cgi-bin/links/page.cgi [L]
RewriteRule ^([a-zA-Z0-9-]+)\.html /cgi-bin/links/page.cgi?p=$1 [L]
RewriteRule ^links_html/(.*)$ /cgi-bin/links/page.cgi?g=$1 [L]
When I change the bottom rule to the "correct" directory (now 'links'),
The site displays without CSS, BUT New, Cool all work perfectly.
So, it is either NO CSS and working rewrite rules or
good CSS and broken rewrite.
There is a directory problem here. Somehow GLinks is STILL using the old directory for the CSS file.
The file in /cgi-bin/links/admin/Links/Config/Data.pm
contains the following line, which has the WRONG path.
'db_static_url' => 'http://www.supportmusicians.com/links_html/static',
I am reluctant to change this manually, but it is the only occurance of "links_html" I can find.
Are there files in a "compiled" folder somewhere that might be holding onto the old directory name?
That's all I have, except a headache from trying to figure this out :-)
Please help, this is becoming urgent.
Thank you,
Chris
www.supportmusicians.com
RGB World, Inc. - Software & Web Development.
rgbworld.com
I am still having some problems with Rewrite rule, but it is different now...
It is actually more of a CSS problem.
During the process of trying getting Rewrite to work,
I renamed the directory that GLinks saves html files to.
It used to be: www/http/links_html
I renamed it to: www/http/links
I updated ALL the paths and urls in the admin to reflect the change.
With the following rules in place, the site displays with correct CSS,
BUT I get a 404 Not Found error when clicking on New, Cool and others.
RewriteEngine On
RewriteRule ^$ /cgi-bin/links/page.cgi [L]
RewriteRule ^([a-zA-Z0-9-]+)\.html /cgi-bin/links/page.cgi?p=$1 [L]
RewriteRule ^links_html/(.*)$ /cgi-bin/links/page.cgi?g=$1 [L]
When I change the bottom rule to the "correct" directory (now 'links'),
The site displays without CSS, BUT New, Cool all work perfectly.
So, it is either NO CSS and working rewrite rules or
good CSS and broken rewrite.
There is a directory problem here. Somehow GLinks is STILL using the old directory for the CSS file.
The file in /cgi-bin/links/admin/Links/Config/Data.pm
contains the following line, which has the WRONG path.
'db_static_url' => 'http://www.supportmusicians.com/links_html/static',
I am reluctant to change this manually, but it is the only occurance of "links_html" I can find.
Are there files in a "compiled" folder somewhere that might be holding onto the old directory name?
That's all I have, except a headache from trying to figure this out :-)
Please help, this is becoming urgent.
Thank you,
Chris
www.supportmusicians.com
RGB World, Inc. - Software & Web Development.
rgbworld.com