I've enabled mod_rewrite.so in httpd.conf
I've updated the apache2/httpd.conf to reflect
DocumentRoot "/Library/WebServer/Documents"
I've changed apache2 / users / [username].conf
( Just a shot in the dark. I also tried /Users/[username]/Sites/ )
I've even aded AccessFilename .htaccess to the httpd.conf file just incase.
I've ticked the "Allow overrides using .htaccess files" In the Server advanced configuration for the website.
htaccess file
(I am just trying a very simple change in the .htaccess to sample if the .htaccess is working. )
I've been messing around with this for 2 days now and cannot find an answer.
I really need this to work
Thanks in advance.
I've updated the apache2/httpd.conf to reflect
DocumentRoot "/Library/WebServer/Documents"
Code:
<Directory />
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny, allow
Deny from all
</Directory>
<Directory "/Library/WebServer/Documents">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow, deny
Allow from all
</Directory>
I've changed apache2 / users / [username].conf
( Just a shot in the dark. I also tried /Users/[username]/Sites/ )
Code:
<Directory "/Library/WebServer/Documents">
Options Indexes MultiViews FolowSymlinks
AllowOverride All
Order allow, deny
Allow from all
</Directory>
I've even aded AccessFilename .htaccess to the httpd.conf file just incase.
I've ticked the "Allow overrides using .htaccess files" In the Server advanced configuration for the website.
htaccess file
(I am just trying a very simple change in the .htaccess to sample if the .htaccess is working. )
Code:
DirectoryIndex test.html
I've been messing around with this for 2 days now and cannot find an answer.
I really need this to work
Thanks in advance.
Last edited: