Author Topic: mod_rewrite is not working properly  (Read 6597 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
mod_rewrite is not working properly
« on: September 19, 2015, 04:23:50 AM »
Hello i have a simple rewrite rule wich worked before and is working on localhost already
but its not working on my cwp server:

Code: [Select]
RewriteEngine on
RewriteBase /
RewriteRule ^view/$ view.php
RewriteRule ^view$ view.php
RewriteRule ^view/(\w+)?$ view.php?cat=$1

when i try to access
Code: [Select]
site.com/view
its fine and shows view.php
but
Code: [Select]
site.com/view/test
will not get to view.php?cat=test

Offline
*****
Re: mod_rewrite is not working properly
« Reply #1 on: October 06, 2015, 07:01:14 AM »
Hi.

The mod_rewrite is same everywhere, just check you rewrite rules.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services