Thing to do after updating to latest OS

After updating the OSX to the latest one.

My webserver didn’t recognize my previously customized VHOST.
Turn out,the update saved those config as ~previous.
So, I just need to restore it back and it is online again.


nb-namran:/etc/apache2$ diff httpd.conf httpd.conf~previous 
< #LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
> LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
< #LoadModule userdir_module libexec/apache2/mod_userdir.so
> LoadModule userdir_module libexec/apache2/mod_userdir.so
< #LoadModule rewrite_module libexec/apache2/mod_rewrite.so
< #LoadModule php5_module libexec/apache2/libphp5.so
> LoadModule rewrite_module libexec/apache2/mod_rewrite.so
> LoadModule php5_module libexec/apache2/libphp5.so
> #User admin
> #Group staff
<     AllowOverride None
>     #AllowOverride None
>     AllowOverride All
>      #Order deny,allow
>  #Deny from all
>  #Allow from all
< #Include /private/etc/apache2/extra/httpd-userdir.conf
> Include /private/etc/apache2/extra/httpd-userdir.conf
< #Include /private/etc/apache2/extra/httpd-vhosts.conf
> Include /private/etc/apache2/extra/httpd-vhosts.conf
> #
> # uncomment out the below to deal with user agents that deliberately
> # violate open standards by misusing DNT (DNT *must* be a specific
> # end-user choice)
> #
> #
> #BrowserMatch "MSIE 10.0;" bad_DNT
> #
> #
> #RequestHeader unset DNT env=bad_DNT
> #

after restore the config,you may need to restart the apache2 server with the following command.

apachectl restart
Namran Hussin: a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~
Related Post
Leave a Comment