Virtual Hosts in Windows under WAMP
Do you want to call your localhost websites from a webbrowser using nice URLs like: mysite.dev or somethingelse.dev? Here’s a way how to do this under Windows.
First edit your Apache’s httpd.conf file. Look for “DocumentRoot” and then change into something like this (“e:/wamp/www” is the path to my sites):
DocumentRoot "e:/wamp/www/"
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
[...]
Internal server error after placing php_value in .htaccess file?
I was recently moving a website to another server and I found out that after saving text into DB all the quotation marks were preceded by slashes.
This mean the “magic_quotes_gpc” option is enabled in the configuration file.
Here’s how to fix this behavior.