skip to Main Content

Why am I getting the wrong document root? – Apache

I am working through this tutorial- https://docs.zendframework.com/tutorials/getting-started/skeleton-application/ In trying to get it setup on an Apache local server I have used this code- <VirtualHost *:80> ServerName zf-tutorial.localhost DocumentRoot /var/www/html/skeleton-application/public SetEnv APPLICATION_ENV "development" <Directory /var/www/html/skeleton-application/public> DirectoryIndex index.php AllowOverride All Require all…

VIEW QUESTION

XAMPP virtualhost site with all configs not working – Apache

I am trying to run site my.com locally on XAMPP's apache server. Here my configurations in httpd-vhosts.conf file in the path ...XAMPPapacheconfextra: <VirtualHost *:80> DocumentRoot "D:/IDEs/XAMPP/htdocs" ServerName localhost <Directory "D:/IDEs/XAMPP/htdocs"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>…

VIEW QUESTION

Redirect HTTP to HTTPS with VirtualHost – Apache

I have Let's Encrypt SSL certificate for exampledomain.com. www.exampledomain.com redirects to https://exampledomain.com, but exampledomain.com gives "Apache2 Ubuntu Default Page". I use following .conf file for domain in sites-available folder: <VirtualHost *:80> DocumentRoot /var/www/html/mydomain ServerName mydomain.hu ServerAlias www.mydomain.hu RewriteEngine on RewriteCond…

VIEW QUESTION
Back To Top
Search