kohkindachi
Active Member
Ths rule were suppose to be in public_html htaccess
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?link=$1
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
But after installing lightted, my server guy change it and add it to /etc/lighttpd/lighttpd.conf as
url.rewrite-once = ( "^link([^/]*).html$" => "/rewrite.php?link=$1",
".*\.(js|ico|gif|jpg|png|css|php|)$" => "$0",
"^/(.*)$" => "/index.php?link=$1")
but isn't working. Someone please advice
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?link=$1
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
But after installing lightted, my server guy change it and add it to /etc/lighttpd/lighttpd.conf as
url.rewrite-once = ( "^link([^/]*).html$" => "/rewrite.php?link=$1",
".*\.(js|ico|gif|jpg|png|css|php|)$" => "$0",
"^/(.*)$" => "/index.php?link=$1")
but isn't working. Someone please advice