virtual-hosts

Xampp vhosts do not work

与世无争的帅哥 提交于 2019-12-24 06:58:31
问题 I have trouble with xampp. Having installed it, my virtual hosts do not want to work at all. When i am trying to access http://localhost/ - works good. But if i type something else, like http://laravel.dev it gives me an error. hosts # Copyright (c) 1993-2009 Microsoft Corp. # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed

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

Wildcards in a Windows hosts file

走远了吗. 提交于 2019-12-17 00:19:09
问题 I want to setup my local development machine so that any requests for *.local are redirected to localhost . The idea is that as I develop multiple sites, I can just add vhosts to Apache called site1.local , site2.local etc, and have them all resolve to localhost , while Apache serves a different site accordingly. I am on Windows XP. I tried adding 127.0.0.1 *.local to my c:\windows\system32\drivers\etc\hosts file, also tried: 127.0.0.1 .local Neither of which seem to work. I know I can set

Tomcat 7 (Virtual hosts?)

ぐ巨炮叔叔 提交于 2019-12-13 17:22:46
问题 I want use my web application on port 8082 (for example), and it is working correctly. But I want to leave connection on port 8080 (with default Tomcat page), can I do it and how? 回答1: you need edit the conf/server.xml to add another Service, such as <Service name="for_host1"> <Connector port="8082" .. /> <Engine name="Catalina_host1" defaultHost="stimpy"> <Host name="stimpy" appBase="stimpyapps"/> </Engine> </Service> <Service name="default"> <Connector port="8080" .. /> <Engine name=

Virtual Hosts in CentOS 7 + Laravel

雨燕双飞 提交于 2019-12-12 00:46:27
问题 I have problems with my VirtualHosts The Directory of the website is /var/www/html/laravel The httpd.conf file is When open the website show me this error: Somebody can help me? Thanks 回答1: I found a Solution! I have many sites in /var/www/html folder. www.example.com/site1 www.example.com/site2 ... The solution is create one alias for each site in httpd.conf . example: Alias /site1 /var/www/html/site1 <VirtualHost *:80> DocumentRoot "/var/www/html/site1" </VirtualHost> Alias /laravel /var

xampp 1.7.3 upgrade broken virtual hosts access forbidden

99封情书 提交于 2019-12-11 12:11:49
问题 I've got a similar issue to that reported by another user here XAMPP v1.7.4 installation issues,local host not working Upgrading xampp to 1.7.3 (osx) in my case has broken my virtual hosts. In /etc/hosts I've got 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost 127.0.0.1 mysite.test In /Applications/XAMPP/etc/httpd.conf I've got: LoadModule rewrite_module modules/mod_rewrite.so #uncommented Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf

Apache HTTPS reverse proxy with SNI without key on the proxy

拥有回忆 提交于 2019-12-10 13:32:11
问题 example1.com and example2.com resolve to host0. host0 runs an Apache reverse proxy with two VirtualHosts. It delegates requests for example1.com to host1 and for example2.com to host2. Using http in all places, that clearly can be made to work. Using https, I could stick the keys for example1.com and example2.com on host0, and then have host0 talk http or https to host1 and host2. Given SNI, that should work, too. My question: can it be made to work without the example1.com or example2.com

Apache Virtual Host is not working right

北慕城南 提交于 2019-12-08 16:37:46
问题 Somehow my Virtual host files are not working straight I can't tell why - I bet it's just a mailfunction in my good-morning brain :p Right now I got TWO sites enabled via a symbolic link to sites available in /etc/apache2/ directory like : 0 Nov 21 12:24 000-default -> ../sites-available/default 0 Nov 21 14:52 001-site -> ../sites-available/site my VHosts files look like : DEFAULT <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName (the IP Address from my Server) ServerAlias (the

Wamp Virtual Host Set Up

扶醉桌前 提交于 2019-12-07 05:32:13
问题 sorry for having a similar question to what has been posted all ready but the others aren't helping me. I'm trying to set up a virtual host on my windows 8 computer but I can't seem to get it to work no matter what tutorial or help section i follow, this is my setup so far. httpd-vhosts.conf # Virtual Hosts # # Required modules: mod_log_config Listen 80 <VirtualHost *:80> ServerAdmin admin@localhost.com DocumentRoot "C:\Program Files (x86)\2. Apps\Wamp\www" ServerName localhost <Directory "C:

apache cyrillic wildcards in virtualhost config

元气小坏坏 提交于 2019-12-06 08:08:57
there is a question. I have project with many subdomains and it is configured like this: VirtualHost1: ServerAlias a*.example.com VirtualHost2: ServerAlias b*.example.com VirtualHost3: ServerAlias c*.example.com It works very good. And now I need the same, but with non-latin domains (cyrillic), something like this: VirtualHost1: ServerAlias a*.example.com VirtualHost2: ServerAlias б*.example.com VirtualHost3: ServerAlias в*.example.com While trying punycode converter I saw something like this: ббб -> xn--90aaa баб -> xn--80abb бав -> xn--80abe So even for one letter there is a problem to make