You should be able to do it using the following in a .htaccess file:
RewriteRule Detailed/([0-9]+)\.html /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
That will work for the detailed pages like /Detailed/1234.html
Then if thats working, you may as well comment out the code for building detailed pages. Around line 524 in nph-build.cgi, find (and add the bit in red):
$cond ||= GT::SQL::Condition->new;
$cond->add(VIEWABLE);
$cond->add('Timestmp','<',1);
That should force it to **not** build detailed pages (Which should save time on your builds)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
RewriteEngine On RewriteRule Detailed/([0-9]+)\.html /cgi-bin/links/page.cgi?g=Detailed/$1.html [L]
That will work for the detailed pages like /Detailed/1234.html
Then if thats working, you may as well comment out the code for building detailed pages. Around line 524 in nph-build.cgi, find (and add the bit in red):
Code:
# Only build validated links $cond ||= GT::SQL::Condition->new;
$cond->add(VIEWABLE);
$cond->add('Timestmp','<',1);
That should force it to **not** build detailed pages (Which should save time on your builds)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!