View Single Post
Old 09-07-2013, 08:47 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,527
Broke all my WordPress Sites (learn from my mistake)

Upgraded a server from apache 2.2 to 2.4, it seems 2.4 requires an extra line in the config for domains for rewrites to work.

old: 2.2

Quote:
<VirtualHost 192.168.1.221>
DocumentRoot /home/steve/public_html
ServerName domain.com
ServerAlias www.domain.com
<Directory "">
Options All -Indexes
AllowOverride ALL
</Directory>
</VirtualHost>
new : 2.4

Quote:
<VirtualHost 192.168.1.221>
DocumentRoot /home/steve/public_html
ServerName domain.com
ServerAlias www.domain.com
<Directory "">
Options All -Indexes
AllowOverride ALL
Require all granted ## < this line
</Directory>
</VirtualHost>
hopefully this can help someone who ever upgrades ;)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote