Hello all, sorry to ask this, but i'm just trying to figure out myself about the rewrite mod rules for my site.
As i want to use links on dynamic mode... I'm trying to use this rules:
RewriteEngine On
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^p/(.*) /cgi-bin/choulinks/page.cgi?g=$1 [L]
RewriteRule ^info/(.*) /cgi-bin/choulinks/page.cgi?p=$1 [L]
RewriteRule ^(.*).html /cgi-bin/choulinks/page.cgi?g=$1.html [L]
RewriteRule ^$ /cgi-bin/choulinks/page.cgi [L]
I'm still doing tests with my links installation, so i'm only seeing my pages from the admin menu, using the dynamic link there. However my pages still looks this this:
/page.cgi?g=Arts___Entretainment%2Findex.html&d=1
My .htaccess file its located on my html directory. My site structure its like this:
cgi-bin
choulinks
html
images
new
cool
Where exactly do i need to upload the .htaccess file? (cgi-bin or html directories)? and I took this rules as my base, from a rule posted by Andy on this forums.
Any help or advice on this will be really appreciate it :)
Hovwer, I'm still searchoing and looking for more info on this.
Jesus
As i want to use links on dynamic mode... I'm trying to use this rules:
RewriteEngine On
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^p/(.*) /cgi-bin/choulinks/page.cgi?g=$1 [L]
RewriteRule ^info/(.*) /cgi-bin/choulinks/page.cgi?p=$1 [L]
RewriteRule ^(.*).html /cgi-bin/choulinks/page.cgi?g=$1.html [L]
RewriteRule ^$ /cgi-bin/choulinks/page.cgi [L]
I'm still doing tests with my links installation, so i'm only seeing my pages from the admin menu, using the dynamic link there. However my pages still looks this this:
/page.cgi?g=Arts___Entretainment%2Findex.html&d=1
My .htaccess file its located on my html directory. My site structure its like this:
cgi-bin
choulinks
html
images
new
cool
Where exactly do i need to upload the .htaccess file? (cgi-bin or html directories)? and I took this rules as my base, from a rule posted by Andy on this forums.
Any help or advice on this will be really appreciate it :)
Hovwer, I'm still searchoing and looking for more info on this.
Jesus