
jesus
Novice
Karma: -0 / +0
Apr 25, 2004, 11:11 PM
Post #1 of 4
(1535 views)
Shortcut
Send jesus a wink
|
Hi andy and pugdog... i don't know if i'm in the right forum to ask my question, regarding the mod_rewrite rules. Reading on the Gossamer Threads forum, I'm tryoing to establish my rewrite rules to use linkssql dinamicly. I take some rules posted by andy and i'm trying to make it work my own 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 As you may notice, i'm still able to see the ? sign on my link. I've installed the mod_Rewrite module on my server. My .htaccess file its located on my html directory and my site structure looks like this: cgi-bin |-choulinks html |-images |-new |-cool Where exactly do i need to upload the .htaccess file? (cgi-bin or html directory)? As always, any help or advice on this will be really appreciate it :) Jesus
|