virtualhost

Local virtual hosts show Privacy Error on Chrome due to HSTS

风流意气都作罢 提交于 2019-12-24 05:24:07
问题 I have created several virtual hosts for my development processes. They were working just fine till yesterday. But in my chrome app, today they stopped working. Chrome shows: NET::ERR_CERT_AUTHORITY_INVALID All my vhosts end with .dev . I changed one .dev to .work and its again working. But I can not do this for all vhosts as there are too many of them. What do I do? PS : They are working fine in firefox. The error remains same in chrome incognito mode. I tried clearing cache and hard reload,

New site conf file for Apache 2.4.6

笑着哭i 提交于 2019-12-24 01:54:27
问题 I had just upgraded to Ubuntu 13.10 earlier today. The version of Apache2 is 2.4.6 now. I removed the old site config file and tried to create a new one. When I was trying to copy default.conf, I found the format had been changed significantly. And here is an example of the new conf file. As lots of people do, I also have the forbidden problem even if I set my folder permission to 777. 1 <VirtualHost *:80> 2 # The ServerName directive sets the request scheme, hostname and port th at 3 # the

Apache multiple virtual hosts on the same same ip(diffrent url's)

随声附和 提交于 2019-12-24 01:01:35
问题 I have 2 virtual hosts(bugzilla and board review) on an apache server sitting inside an ubuntu machine. I have one external ip address I can use(with one port enabled) so I can't assign different host names or different ports for the virtual hosts.(correct me if I'm wrong) I want the user to be able to write the following: http://ip-address:port/bugzilla and for the requests to go to bugzilla and for requests from http://ip-address:port/review to go to the review board. I tried reverse

Dynamic Virtual Host with Dynamic Alias

百般思念 提交于 2019-12-24 00:24:01
问题 I am using DNSMasq for this setup. I am having issues with Alias, as it does not work at all for dynamic virtual hosts. And there's no such a thing as VirtualAlias in Apache documentation. I am trying to setup my new environment just like I did before for .dev tld, but I am having issues, because it require more configuration. Here's fully functional .dev Virtual Document. <VirtualHost *:80> ServerAlias *.dev UseCanonicalName Off VirtualDocumentRoot "/Users/nn/Sites/%1" </VirtualHost> Here's

Set up Virtual Host, can no longer access http://localhost [closed]

会有一股神秘感。 提交于 2019-12-23 15:44:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've set up a virtualhost on WAMP. The address is http://privatesite (which works) However, now that I have set up this virtual host, the default localhost does not work and I'm not sure how to rectify it. My hosts file looks like this: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file

Local virtual hosts pointing to the same directory

蹲街弑〆低调 提交于 2019-12-23 13:24:47
问题 I have been getting lost amidst forum posts on this issue. 1) I have MAMP (not Pro) Installed 2) My Apache port is set to 8888 3) My Document Root in preferences is set-up to /Users/usr/Sites I want to set-up multiple local subdomains i.e. private/etc/hosts 127.0.0.1 local1.sitename.com 127.0.0.1 local2.sitename.com 127.0.0.1 local3.sitename.com No that is where the problem arises. In the httpd-vhosts.conf I tried to set up the following: <VirtualHost *:80> ServerAdmin admin@si1tename.com

Dynamically configured virtual hosting

巧了我就是萌 提交于 2019-12-23 01:27:10
问题 Helo! I would like to prepare a dynamic virtual host for all subdomains that will be created in future using mod_rewrite. All subdomains would be configured prety much same way, so i thought of using dynamic VH configuration. I want my document root for each subdomain to be /home/user/public_html/subdomainName. I've tried with following configuration, but had no success: <VirtualHost xxx.xxx.xxx.xxx:80> # get the server name from the Host: header UseCanonicalName Off <Directory /home/user

What is the difference between “always” and “onsuccess” in Apache's Header config?

老子叫甜甜 提交于 2019-12-22 08:53:08
问题 I have a website where virtual hosts are defined in /etc/apache2/sites-enabled/ with a header being set with the always option like this: Header always set X-Frame-Options DENY If I now set the same header using .htaccess in the web site's root folder, but without always then the header is returned twice in the server's response. The setting in .htaccess (amongst others): Header set X-Frame-Options DENY The server's response: HTTP/1.1 200 OK Date: Mon, 02 May 2016 16:02:29 GMT Server: Apache

need help with xampp virtual host

六眼飞鱼酱① 提交于 2019-12-22 06:36:48
问题 I am using XAMPP, Apache 2.2.17. I have added virtual host but my virtual host and localhost both point to the same location. Here is my code in httpd-vhosts.conf <VirtualHost www.domain.tld:80> ServerName www.domain.tld ServerAlias domain.tld *.domain.tld DocumentRoot "C:/xampp/htdocs/workspace/testsite" </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/xampp" ServerAlias localhost ServerName localhost </VirtualHost> With the above code, I get testsite with www.domain.tld so

How do I create a VirtualHost on Zend Server?

感情迁移 提交于 2019-12-22 04:13:37
问题 I am using zend server and I added one VirtualHost into the extra/httpd-vhosts.conf file and removed # from the httpd.conf file. This is what I added into the extra/httpd-vhosts.conf file: NameVirtualHost *:80 <VirtualHost *:80> ServerName quickstart.local DocumentRoot D:/quickstart/Code <Directory D:/quickstart/Code> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> When I access quickstart.local it is working fine, but it also affects