httpd-xampp.conf: How to allow access to an external IP besides localhost?

allow from all will not work along with Require local. Instead, try Require ip xxx.xxx.xxx.xx For Example: # New XAMPP security concept # <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> Require local Require ip 10.0.0.1 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>

Options FollowSymLinks or SymLinksIfOwnerMatch is off

Watch that the directory where your web application is living, is not included in another parent directory which has restricted FollowSymLinks. The solution is to enable FollowSymLinks at the top directory (parent directory) or move your web application to a directory outside of the scope of the “no FollowSymLinks” in parent directory. For example, the … Read more

How can I automatically redirect HTTP to HTTPS on Apache servers?

I have actually followed this example and it worked for me 🙂 NameVirtualHost *:80 <VirtualHost *:80> ServerName mysite.example.com Redirect permanent / https://mysite.example.com/ </VirtualHost> <VirtualHost _default_:443> ServerName mysite.example.com DocumentRoot /usr/local/apache2/htdocs SSLEngine On # etc… </VirtualHost> Then do: /etc/init.d/httpd restart

Apache VirtualHost slow lookup

Add your virtual hosts to the first line: 127.0.0.1 localhost test.local work.local yii.local And remove the last line. That should do the trick. Your vhosts are now an alias for localhost. It’s not a good idea to have the same IP-address in multiple lines. This just confuses the DNS-cache.