Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [rgbworld] All dynamic site rewrite to static URLs

Quote Reply
Re: [rgbworld] All dynamic site rewrite to static URLs In reply to
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
Subject Author Views Date
Thread All dynamic site rewrite to static URLs Jag 13115 Mar 29, 2005, 4:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13010 Mar 29, 2005, 5:52 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 13005 Mar 29, 2005, 6:20 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
Alex 13003 Mar 29, 2005, 7:12 PM
Thread Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12976 Mar 29, 2005, 9:49 PM
Thread Re: [pugdog] All dynamic site rewrite to static URLs
Alex 12949 Mar 29, 2005, 11:15 PM
Post Re: [Alex] All dynamic site rewrite to static URLs
pugdog 12880 Mar 30, 2005, 11:44 AM
Thread Re: [Alex] All dynamic site rewrite to static URLs
Jag 12924 Mar 30, 2005, 2:57 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12789 Apr 14, 2005, 6:34 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12809 Apr 14, 2005, 6:52 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12855 Apr 14, 2005, 8:00 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12827 Apr 14, 2005, 8:13 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12867 Apr 14, 2005, 8:28 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12831 Apr 14, 2005, 8:48 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12790 Apr 14, 2005, 8:56 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12820 Apr 14, 2005, 9:04 PM
Post Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12797 Apr 14, 2005, 9:07 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 12795 Apr 14, 2005, 9:36 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 12762 Apr 15, 2005, 12:26 AM
Thread Re: [afinlr] All dynamic site rewrite to static URLs
rgbworld 12765 Apr 15, 2005, 6:08 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12760 Apr 15, 2005, 5:02 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12759 Apr 15, 2005, 5:19 PM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
rgbworld 12766 Apr 15, 2005, 6:08 PM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
Andy 12675 Apr 16, 2005, 5:22 AM
Thread Re: [rgbworld] All dynamic site rewrite to static URLs
Jag 12789 Apr 16, 2005, 12:37 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
ccunet 3412 Apr 16, 2005, 2:38 PM
Thread Re: [ccunet] All dynamic site rewrite to static URLs
Jag 3350 Apr 18, 2005, 4:15 PM
Post Re: [Jag] All dynamic site rewrite to static URLs
aus_dave 3345 Sep 1, 2005, 7:50 PM
Thread Re: [Jag] All dynamic site rewrite to static URLs
rgbworld 3462 Apr 17, 2005, 9:43 AM
Post Re: [rgbworld] All dynamic site rewrite to static URLs
afinlr 3426 Apr 17, 2005, 11:10 PM