0
votes
0answers
76 views

403 Forbidden error on apache 2.2.2 under ElementaryOS Luna

I've installed latest lampp in my ElementaryOS install. All went ok until I begun getting access problems in some files, so I went through: created a new group www and added my user to it, then ...
1
vote
2answers
74 views

difference between _default_:* and *:* in VirtualHost Context

I want to know the difference between "default:*" and "*:*" in VirtualHost Context. <VirtualHost _default_:*> #... ServerName host.example.com #... </VirtualHost> ...
0
votes
1answer
35 views

Multiple VirtualHost Configuration files in Apache2.

I have servers with RHEL-5, Apache-2.2.22, PHP-5.3.25 I know I can configure multiple virtualhost configurations in mutliple file by including these files in httpd.conf. Can Apache support this ...
-1
votes
1answer
72 views

Running Multiple sites with multiple domains apache

I am having a rough time running apache and using multiple domain names here is a snippet of my config file. I keep getting a error saying that NameVirtualHost has no VirtualHosts. I want them both ...
0
votes
1answer
458 views

Apache ProxyPass Virtual host

I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
0
votes
2answers
202 views

Apache httpd-vhosts.conf file sending all requests to default vhost

What is wrong here? NameVirtualHost *:80 <VirtualHost *:80> ServerName domain1.com ServerAdmin membersupport@domain1.com DocumentRoot /var/www/html/domain1-com </VirtualHost> ...
0
votes
2answers
543 views

WAMP different sites on different ports accessible on LAN

I have a small windows server set up on a LAN, with static IP address 192.168.1.100. I have a few other client machines, say 192.168.1.101 - 104. Requirements: Host an apache server (wampserver) on ...
1
vote
2answers
194 views

Virtual Host showing “Index of /” instead of displaying my site [closed]

So I just ran a clean install of Mountain Lion OSX 10.8 and am trying to get everything back up and running again. I uncommented the php module and vhosts in http.conf, added brew, mcrypt, autoconf ...
0
votes
1answer
50 views

Using same directory declaration for multiple Vhosts

Is there a method for declaring name based virtual hosts, but sharing the same directory declarations? So for example, the Directory section in both of these Vhosts is the same, so is there a method ...
2
votes
1answer
124 views

Redirect subdomain to another website on a single IP virtualhost setup

I apologize if this has been asked before, but I've looked at a number of questions here and none of them seem to answer my question. I have a series of domains all pointing to my server. For each ...
2
votes
1answer
87 views

apache httpd.conf - virtualhost configuration

I'm new to apache and httpd.conf The problem I'm having is I need different website to go to different vhost configs and if only the IP is requested it needs to go to the root index.html This works ...
0
votes
2answers
426 views

Using naked domain in apache, no “www” on domain in httpd.conf

Incredibly there is no good tutorial or easy reference guide for using naked domains (no subdomain) as the primary URI online that I could find. I'm trying to configure this to happen in my ...
0
votes
0answers
32 views

Error configuring virtual hosts

i Have a problem using my virtual hosts: When i try to connect to my server on direct ip adress, for example http://111.11.11.111/ in apache error log i see following error: script ...
0
votes
1answer
161 views

Apache is serving from the first virtualhost for all subdomains and main domain

Objective: To have multiple sub-domains working successfully with a wildcard SSL certificate. The sub domains do not have separate dedicated cpanel account, and hence share the same dedicated IP ...
3
votes
1answer
117 views

Apache2 Basic Auth: user@ip, user2@ip2 - Is this possible?

I am looking at running an external service for clients to use here in my office while clients are working remotely at their office. Assumptions: Both my office IP and clients office IP are static. ...
1
vote
1answer
355 views

Virtual Host forces to download files

I have been struggling with this for more than 5 hours now, and I can't seem to find the fix to my problem. Basically, I set up virtual host on my Fedora Core server (on custom port 55555). Any time I ...
0
votes
1answer
87 views

How to test virtual host setting on local or intranet environment?

I have the following httpd configuration to allow subdomains and to redirect www url to non-www url: ServerName example.com:80 NameVirtualHost *:80 <VirtualHost *:80> ServerName example.com ...
4
votes
1answer
162 views

Name Based Virtual Hosts in Apache

I'm having a little trouble configuring name based Virtual Hosts. I can start the server with "service apache2 start" with a blank httpd.conf file, and it will run with everything pointing to ...
1
vote
1answer
1k views

PHP memory_limit local value does not match php.ini value

CentOS system. Summary: changed memory_limit in master and local php.ini and yet no change in the local value for a particular virtual host. Trying to improve performance, I set the memory_limit to ...
0
votes
2answers
575 views

Apache httpd.conf Only use SSL for subdomain and give 404 for other https URLs

I have a current configuration for my website mail client: NameVirtualHost *:443 <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/pki/tls/certs/ca.crt ...
0
votes
1answer
468 views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
0
votes
2answers
89 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: ...
0
votes
1answer
172 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
3
votes
1answer
3k views

If directive not working in apache VirtualHost conf, says “Invalid command”

Why?? <VirtualHost *:80> ServerAdmin admin@mydomain.com DirectoryIndex index.php <If "%{SERVER_PROTOCOL} != 'HTTPS'"> Redirect / ...
0
votes
1answer
72 views

Directory directive for directory outside doc root - best practice

I have a virtual host which has access to a directory outside of its document root. In the config for this host I specify the directory directive to allow access to this directory. <Directory ...
0
votes
1answer
203 views

Multiple virtual hosts on localhost for development

I'm using Xampp (Apace 2.2.20) on mac os lion for development. I have a number of CMS projects and i want to access them by going to cms1.localhost, cms2.localhost, cms3.localhost etc Currently, with ...
0
votes
1answer
385 views

Redirect port / port 10000 to https apache

I have been reading around and trying different configurations to get a request to my server on port 10000 to redirect a http to a https request. For some reason I can't figure out how to make it ...
0
votes
2answers
40 views

Setting http://domain and http://ip to show different directories

Can someone tell me what httpd.conf settings I need to acomplish this? When in browser I access http://IP I want to show: /var/www/html/ And when I access http://domain I want to show ...
0
votes
1answer
573 views

Changing the order of VirtualHosts in WHM/cPanel

I have a need for one of the VirtualHosts that WHM is pulling from cPanel when automatically building httpd.conf to be placed last, because it uses a wildcard subdomain. Example: <VirtualHost ...
1
vote
1answer
89 views

Handling default VirtualHost in Apache

please correct any of my statements if I'm wrong. I've realized that VirtualHosts are loaded through httpd.conf line (exact path is individual) Include conf/vhosts/*.conf And each *.conf host is ...
0
votes
1answer
379 views

Need help with apache2 httpd.conf

Ok, the problem is presented like this: I have a single IP (123.123.123.123) I have multiple domains I work with subdomains for testing So basically I need to host www.example.com, ...
4
votes
4answers
7k views

Yet another (13)Permission denied error on Apache2 server

I just can't figure it out. I'm running apache2 on a Ubuntu 10.04 i386 server. Whenever I visit my server (has an IP address, and is connected to internet with static IP xxx.xxx.xxx.xxx) so that's not ...
2
votes
1answer
536 views

Is it possible to serve different DocumentRoot from Virtual Host in Apache conf depending on IP of the visitor?

I just wonder if it's possible to define several DocumentRoots for single VirtualHost in httpd.conf and serve them out depending on IP of the visitor?
0
votes
2answers
639 views

Setting up an SVN repository on a subdomain

I've found a few guides for setting up a subversion repository and making it available via a subdomain (using a virtual host in Apache), but for some reason can't get things working. Here's what I've ...
1
vote
3answers
739 views

httpd.conf / VirtualHost configuration problem for blog.example.com

I have a site located at /var/www/html/ which works fine. I'm now trying to setup "blog.example.com" by adding the following entry in httpd.conf Setup1 <VirtualHost *:80> DocumentRoot ...
0
votes
0answers
130 views

Setting up blog at blog.example.com (httpd.conf issue)

I installed WordPress on my dedicated server, but had a bit of trouble getting httpd.conf to play nice... I tried adding the following lines: <VirtualHost *:80> DocumentRoot /var/www/html/blog ...
0
votes
1answer
415 views

virtual hosts overlapping in debian apache2

I have a domain domain.com and a subdomain sub.domain.com . In apache2/sites-available I have 2 vhosts files: domain and sub. When I do a2ensite sub the subdomain overwrites the domain, so when I go ...
12
votes
4answers
10k views

How can I tell which config file Apache is using?

I'm trying to set up virtual hosts on Mac OS X. I've been modifying httpd.conf and restarting the server, but haven't had any luck in getting it to work. Furthermore, I notice that it's not serving ...
0
votes
2answers
1k views

Accessing Virtual Host from outside LAN

I'm setting up a web development platform that makes things as easy as possible to write and test all code on my local machine, and sync this with my web server. I setup several virtual hosts so that ...
2
votes
2answers
228 views

Virtual server problem in apache's httpd.conf

When I use the following code: <VirtualHost *> ServerName subone.domain.tld DocumentRoot /var/www/subdomain/subone/ </VirtualHost> <VirtualHost *> ServerName subtwo.domain.tld ...
0
votes
1answer
156 views

Apache refuses to acknowledge my Sites folder

I'm running Apache on a Mac, and all of the sudden http://localhost results in Apache's HTDOCS folder, while for some time now it correctly referred to my Sites folder. Running apachectl -D ...
2
votes
3answers
349 views

Need help setting localhost

Help! I'm trying to convince my Apache to point localhost to /Sites. What am I doing wrong? httpd.conf settings <Directory /> Options FollowSymLinks AllowOverride None Order ...