Welcome Guest, Not a member yet? Register   Sign In
Most difficult remove index.php task ever?
#21

[eluser]sikkle[/eluser]
Does finally someone come with a workin setup for basic leopard apache2 mod_rewrite setup with htaccess?

thanks!
#22

[eluser]Colin Williams[/eluser]
Here's a good start: http://httpd.apache.org/docs/
#23

[eluser]serpicolugnut[/eluser]
[quote author="sikkle" date="1220236564"]Does finally someone come with a workin setup for basic leopard apache2 mod_rewrite setup with htaccess?

thanks![/quote]

Anybody? I'm having the same issues, and I'm on Snow Leopard using the built-in Apache 2/PHP 5.3 setup. I can't believe I'm the only one having this problem.
#24

[eluser]serpicolugnut[/eluser]
OK, I've got the solution.

Open your user.conf file in /etc/apache2/users/ folder. If it doesn't exist, create it, and make sure it has the same name as your Mac OS X user account.

In this file, add the following:

<Directory "/Users/USERNAME/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<Directory "/Users/USERNAME/Sites/yoursitename/">
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig FileInfo
Order allow,deny
Allow from all
</Directory>

obviously, change USERNAME to be your Mac OS X user account name, and yoursitename to be your site folder. Save and close the file.

Restart Apache, and everything should be working now, and your URLs will not need index.php.




Theme © iAndrew 2016 - Forum software by © MyBB