Link to home
Start Free TrialLog in
Avatar of nicholasnet
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
Avatar of emphamy
emphamy

apache enable mod_rewrite or a2enmod mod_rewrite...

also have you restarted apache?

is the .htaccess file in the root directory?

did you change the user permissions on the files?
Avatar of nicholasnet

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
ASKER CERTIFIED SOLUTION
Avatar of solaris01
solaris01

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial