I have set up a linux box mainly for testing and I have got to a stage were apache, mysql and php are running.
I've finally made the switch to Lion but I'm having trouble setting up an Apache VirtualHost.
I'm trying to completely replace the current virtual host autogenerated in httpd.conf with the following (its for a ruby app).
I currently have WAMPSERVER 2.2 set up on my PC.
I'm trying to set up a new host called pplocal.local
I made the changes in httpd.conf to uncomment this:
Include conf/extra/httpd-vhosts.conf
Then, I edited httpd-vhosts.cong and I added the following:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "E:/wamp2/www/"
ServerName localhost
</VirtualHost>
<Virtu
Hey Guys,
I'm having a little problem with the config of apache.
For a school project I need to host 2 websites with apache.
My DNS is ready to go, I tested it and it works perfectly.
Below are the settings in my httpd.conf wich is giving me some problems:
Code:
NameVirtualHost 10.1.11.20:80
#
#
Hi sorry total noob to Apache and Macs here...
What is wrong here?
NameVirtualHost *:80
<VirtualHost _default_:80>
ServerName domain1.com
DocumentRoot /var/www/html/domain1-com
</VirtualHost>
<VirtualHost *:80>
ServerName domain2.com
ServerAlias www.domain2.com
DocumentRoot /var/www/html/domain2-com
</VirtualHost>
Problem:
domain1.com correctly serves the content at /var/www/html/domain1-com, b
guys sorry I'm a newbie to this but I've been following the mod_wsgi configuration tutorial and it's very spotty. In my httpd.conf file I add the virtual host like so:
# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition.
Hi all,
I want my Fedora 17 to set up apache using both http and https.
My configurations is :
Apache version : 2.2.22
openssl version : 1.0.0i-fips
I using named virtualhost : myfirstsite.com , mysecondsite.com
First I appended to httpd.conf
Code:
<VirtualHost *:80>
ServerName myfirstsite.com
DocumentRoot /var/www/html/http/one
</VirtualHost>
<VirtualHost *:80