skip to Main Content

How to prevent rewrite .htaccess file conflict problem – Apache

RewriteEngine on RewriteRule ^([^/.]+)/?$ category.php?slug=$1 RewriteRule ^([^/.]+)/([^/.]+)$ product-details.php?slug1=$1&slug=$2 RewriteRule ^([^/.]+)/?$ infrastructure-details.php?slug=$1 what I have already tried This is my htaccess file. problem is when I am trying to execute (infrastructure-details.php?slug=$1) its move to (category.php?slug=$1) conflict with first rule of htaccess.…

VIEW QUESTION

Apache webserver status in Ubuntu

I have installed apache webserver in my Ubuntu machine and changed port to 8080 (/etc/apache2/apache2.conf, /etc/apache2/000-default.conf) and able to successfully load test page in browser Using below commands for administration (installed w3m as well): sudo apache2ctl start sudo apache2ctl stop…

VIEW QUESTION
Back To Top
Search