As mentioned in other threads we just moved from Apache to the latest lsws and have since had a customer come forwarding saying .htaccess does not work whatsoever. Password protected areas are completely naked (he removed them for now) and Rewrites are not working whatsoever. Here is a copy of his .htaccess for rewrite:
# cat .htaccess
#deny from all
RewriteEngine On
Rewriterule ^index.html tmpl.php
RewriteRule ^article_([^_]*)-([^_]*)\.html$ /index.php?action=view&id=$1&page=$2 [L]
RewriteRule ^content_([^_]*)\.html$ /index.php?action=view_content&id=$1 [L]
RewriteRule ^listing_([^_]*)-([^_]*)\.html$ /index.php?action=list_articles&id=$1&page=$2 [L]
RewriteRule ^art\,([^_]*)_([^_]*)_([^_]*)\.html$ /index.php?action=view&id=$1&page=$2&seo_url=$3 [L]
RewriteRule ^do-([^-]*)-([^-]*)-([^-]*)\.html([^/]*)$ /index.php?action=$1&$2=$3$4 [L]
RewriteRule ^ads\,([^-]*)-([^-]*)\.html$ /?action=list_ads&kategorija=$1&page=$2 [L]
RewriteRule ^postAD\.html$ /?action=post_ad [L]
RewriteRule ^skelbimai\.html$ /?action=ads [L]
RewriteRule ^forumas\.html$ /index.php?action=fList&cid=0 [L]
RewriteRule ^rss-listing_([^_]*)\.xml$ /inc/rss_generator.php?id=$1 [L]
The URL he is trying to access via rewrite is http://domaingoeshere/art,240_1_kieciausias-metu-prietaisas-jau-pasieke-londona.html
I have tried all of the various settings in the admin control panel pertaining to .htaccess and it's not working!
Can anyone please lend some assistance?
# cat .htaccess
#deny from all
RewriteEngine On
Rewriterule ^index.html tmpl.php
RewriteRule ^article_([^_]*)-([^_]*)\.html$ /index.php?action=view&id=$1&page=$2 [L]
RewriteRule ^content_([^_]*)\.html$ /index.php?action=view_content&id=$1 [L]
RewriteRule ^listing_([^_]*)-([^_]*)\.html$ /index.php?action=list_articles&id=$1&page=$2 [L]
RewriteRule ^art\,([^_]*)_([^_]*)_([^_]*)\.html$ /index.php?action=view&id=$1&page=$2&seo_url=$3 [L]
RewriteRule ^do-([^-]*)-([^-]*)-([^-]*)\.html([^/]*)$ /index.php?action=$1&$2=$3$4 [L]
RewriteRule ^ads\,([^-]*)-([^-]*)\.html$ /?action=list_ads&kategorija=$1&page=$2 [L]
RewriteRule ^postAD\.html$ /?action=post_ad [L]
RewriteRule ^skelbimai\.html$ /?action=ads [L]
RewriteRule ^forumas\.html$ /index.php?action=fList&cid=0 [L]
RewriteRule ^rss-listing_([^_]*)\.xml$ /inc/rss_generator.php?id=$1 [L]
The URL he is trying to access via rewrite is http://domaingoeshere/art,240_1_kieciausias-metu-prietaisas-jau-pasieke-londona.html
I have tried all of the various settings in the admin control panel pertaining to .htaccess and it's not working!
Can anyone please lend some assistance?