Alex,
I've found that to use the static rewrite, you need to check the box "update others" so that the new, cool, etc paths also point to the /rewritten/ directory. Otherwise, you get a category not found error.
You can also do that manually, but it's tedious.
After dong that, you need to set your image directory back to where it was.
With the 2.99, you have to reset the static directory paths as well.
But, all my sites are using the static-look dynamic generation.
I might be using different rewrite rules, but they are the ones we worked out years ago :)
RewriteRule ^/newdir/?$ /newdir/
<Directory /home/user/domain.com/www/newdir/>
Options All -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
RewriteEngine On
RewriteRule (.*) /cgi-bin/links/page.cgi?g=$1 [L]
AllowOverride All
Allow From All
</Directory>
This is in the httpd.conf/domain config files, not an .htaccess
I prefer that set up, since .htaccess files can lead to confusion, and once set up, this should never have to change.
There are duplicate RewriteEngine On lines.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
I've found that to use the static rewrite, you need to check the box "update others" so that the new, cool, etc paths also point to the /rewritten/ directory. Otherwise, you get a category not found error.
You can also do that manually, but it's tedious.
After dong that, you need to set your image directory back to where it was.
With the 2.99, you have to reset the static directory paths as well.
But, all my sites are using the static-look dynamic generation.
I might be using different rewrite rules, but they are the ones we worked out years ago :)
Code:
RewriteRule ^/$ /newdir/ [R,L,NC] RewriteRule ^/newdir/?$ /newdir/
<Directory /home/user/domain.com/www/newdir/>
Options All -Indexes -FollowSymLinks +SymLinksIfOwnerMatch
RewriteEngine On
RewriteRule (.*) /cgi-bin/links/page.cgi?g=$1 [L]
AllowOverride All
Allow From All
</Directory>
This is in the httpd.conf/domain config files, not an .htaccess
I prefer that set up, since .htaccess files can lead to confusion, and once set up, this should never have to change.
There are duplicate RewriteEngine On lines.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.