virtual-hosts

Wamp Virtual Host Set Up

淺唱寂寞╮ 提交于 2019-12-05 08:32:26
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:/wamp/www"> Options Indexes FollowSymLinks Order allow,deny Allow from all </Directory> </VirtualHost>

How do I create a VirtualHost on Zend Server?

那年仲夏 提交于 2019-12-05 03:51:42
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 localhost (i.e when I try to load http://localhost/ , I see the same site I do for http://quickstart.local

What is the best way to install Mod_jk on linux to run apache in front of tomcat

不想你离开。 提交于 2019-12-04 10:01:43
问题 I am using Wordpress for my blog and my main project is in java using tomcat server so I want each request coming to my server to go through apache. For exemple if my site uses www.sample.com I would like to send the request to tomcat and if it is www.sample.com/wordpress send it to apache Thanks 回答1: Install modjk: sudo apt-get install libapache2-mod-jk sudo a2enmod jk Create workers.properties file: worker.list=tomcat,tstatus worker.tomcat.type=ajp13 worker.tomcat.host=[TOMCAT-IP HERE]

apache on windows virtual directory config help

◇◆丶佛笑我妖孽 提交于 2019-12-03 09:28:48
问题 I'm running Apache on Windows XP via Xampplite, and could use help configuring my virtual directory. Here's what I'm hoping to do on my dev box: I want my source files to live outside of the xampp htdocs dir on my local machine I can access the project at http://myproject others on my local network can access the project at my.ip.address/myproject keep localhost pointing to the xampp's htdocs folder so I can easily add other projects. I've got 1 & 2 working by editing the windows hosts file,

Dynamic subversion repos via subdomains (in Apache)

青春壹個敷衍的年華 提交于 2019-12-03 05:04:05
I'm trying to set up a subdomain-to-repository translation in Apache. Example: foobars.domain.com -> /server/svnrepos/foobars I've tried to get this done with mod_rewrite : RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC] RewriteCond %{HTTP_HOST} ^(www\.)?([^.]+)\.domain\.com$ [NC] RewriteRule ^/svn(.*) /svn/%2$1 [PT] However, this causes problems with basic svn operations; 'checkout' causes this pretty thing: $ svn co http://foobars.domain.com/svn svn: '/svn/foobars/!svn/vcc/default' path not found I don't have any limitations in terms of server setup (my machines, os, etc). Is there any way

Disable directory listing on apache; but access to individual files should be allowed

浪尽此生 提交于 2019-12-03 04:24:36
问题 I do not want to use .htaccess. How should I change my Directory attributes? <VirtualHost *:80> ServerName abc.com DocumentRoot /usr/share/uploads <Directory " /usr/share/uploads"> Order allow,deny Allow from all </Directory> </VirtualHost> 回答1: If you are using Debian/Ubuntu, just go to terminal and type sudo a2dismod autoindex sudo service apache2 restart If you are using Centos/Fedora, just do: mv /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/autoindex.bkp /etc/init.d/httpd restart

apache on windows virtual directory config help

ε祈祈猫儿з 提交于 2019-12-03 00:06:38
I'm running Apache on Windows XP via Xampplite, and could use help configuring my virtual directory. Here's what I'm hoping to do on my dev box: I want my source files to live outside of the xampp htdocs dir on my local machine I can access the project at http://myproject others on my local network can access the project at my.ip.address/myproject keep localhost pointing to the xampp's htdocs folder so I can easily add other projects. I've got 1 & 2 working by editing the windows hosts file, and adding a virtual directory in xampp's apache\conf\extra\httpd-vhosts.conf file. I don't immediately

How can I setup different SSL-Certificates for vhosts on Apache?

血红的双手。 提交于 2019-11-30 19:11:12
I have a web-server, that serves different domain-names, but has only one IP-address assigned. That works fine with virtual hosts in Apache. Now I want SSL-encrypted connections for the websites. How can I set different SSL-certificates for the different vhosts? Using different IP's for the different hostnames would be an solution - not very elegant but possible. But I want to know, how I can use different SSL-certificates for different vhosts. So I look for a solution with only one IP-address. UPDATE: 2013 It appears that SNI is finally beginning take hold as older browsers are falling away.

WAMP Server virtual hosts configuration

痞子三分冷 提交于 2019-11-30 10:37:26
OK, I have my wamp installed and simply can't setup my virtual hosts properly. Here's what I have: Wamp install dir: F:\wamp Projects dir: F:\www # F:\wamp\bin\apache\apache2.4.2\conf\extra\httpd-vhosts.conf <Directory "F:\www"> AllowOverride AuthConfig FileInfo Indexes Limit Options Order Deny,Allow AllowOverride All Allow from all </Directory> NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot "F:\wamp\www" </VirtualHost> # Yes, it's a symfony2 project <VirtualHost 127.0.0.1> DocumentRoot "F:\www\my_project\web" DirectoryIndex app_dev.php ServerName my

Different VirtualHosts with the same port

老子叫甜甜 提交于 2019-11-30 04:52:37
I need to have two VirtualHosts with the same listen port for different projects and with different logs. Here's what I've got: <VirtualHost *:80> DocumentRoot /home/projects/smk ErrorLog /var/log/apache2/smk-error.log RedirectMatch ^/$ /cms </VirtualHost> <VirtualHost *:80> DocumentRoot /home/projects/smk/cms ErrorLog /var/log/apache2/smk-cms-error.log </VirtualHost> <VirtualHost *:80> DocumentRoot /home/projects/smk/deploy ErrorLog /var/log/apache2/smk-deploy-error.log </VirtualHost> Add different ServerName directive in all virtual hosts: <VirtualHost *:80> ServerName dev.localhost