nicholasnet
asked on
How to enable mod rewrite in openSUSE 10.3
I need to enable mod rewrite in openSUSE 10.3 to install CAKEPHP. So, far I have tried this
add rewrite to /etc/sysconfig/apache
Allow rewrite in Apache httpd.conf file.
Now when I check server with phpinfo() it says modrewrite is enabled but when I go to
http://localhost/~myname/cake/
it say object not found.
Now if I put cake folder inside www folder with a root privilege and browse to http://lcalhost/cake it gives me page without cake php mod enabled. You know without any color.
Any help will be greatly appreciated
add rewrite to /etc/sysconfig/apache
Allow rewrite in Apache httpd.conf file.
Now when I check server with phpinfo() it says modrewrite is enabled but when I go to
http://localhost/~myname/cake/
it say object not found.
Now if I put cake folder inside www folder with a root privilege and browse to http://lcalhost/cake it gives me page without cake php mod enabled. You know without any color.
Any help will be greatly appreciated
ASKER
Well I did all that but it still shows page with mod rewrite disabled.
can you post the .htaccess file?
This can be done through the YaST administration Tool.
Click your Start Button in the GUI go to the menu 'System' and open up YaST
YaST -> Network Services -> HTTP Server
- Go to the 'Server Modules' tab
- Find 'rewrite' and toggle status
- Click Finish to apply
Click your Start Button in the GUI go to the menu 'System' and open up YaST
YaST -> Network Services -> HTTP Server
- Go to the 'Server Modules' tab
- Find 'rewrite' and toggle status
- Click Finish to apply
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also have you restarted apache?
is the .htaccess file in the root directory?
did you change the user permissions on the files?