2
votes
2answers
48 views

Apache vhosts - How do I route many sites one way, but route dev site differently?

127.0.0.1 developmentsite.com 127.0.0.1 blockeddomain1.com 127.0.0.1 blockeddomain2.com I would like to block the last 2 domains (and a bunch of others). For this I have added the following vhost ...
0
votes
2answers
105 views

SSL on local sub-domain and sub-sub-domain

I have both local.domain.com and lmarket.local.domain.com pointing to my localhost from etc/hosts. The problem is that I am using XAMPP on Windows 7, and have 2 SSL VirtualHosts in my apache config, ...
0
votes
2answers
3k views

Why doesn't Apache start from xampp control panel after changes to vhosts config? [closed]

I'm running xampp on my local server, and want to host multiple sites, so I changed the httpd-vhosts.conf file. Will somebody let me know if there is something wrong with my code? Apache was running ...
1
vote
1answer
567 views

htaccess rewriterule works in one virtualhost, but not a second virtualhost

I have two virtualhosts configured with xampp on mac os x snow lion. Both use the following .htaccess file. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # Protect hidden files from ...
0
votes
2answers
69 views

access-error when trying to set up vhost pointing to my desktop on Win7

i'm trying to set up vhosts in Apache2(XAMPP) on Windows7. I would like to have an extra domain for a directory on my desktop and each time i try to access that domain in browser, i'm getting an ...
0
votes
4answers
547 views

Apache2 (XAMPP) virtual hosts directive does not work (apparently)

I'm having a few problems when setting up IP-based virtual hosts. First of all I'm using the current XAMPP from apachefriends (XAMPP 1.7.7 with Apache 2.2.21) on Windows 7. The basic functionality ...
0
votes
1answer
92 views

VirtualHost on Apache is not directing correctly

I am running Xampp for a dev server on Windows 7. my windows 7 hosts file @ (C:\Windows\System32\drivers\etc\hosts) has this... 127.0.0.1 www.testing.com testing.com localhost My Apache ...
2
votes
1answer
570 views

Using separate php.ini files per vhost in Xampp

My web host provides separate php.ini files per web root, which is quite useful as I host some websites which require different PHP settings. But on my dev system where I use Xampp, I can only find a ...
1
vote
0answers
249 views

encodeURIComponent + Apache AllowEncodedSlashes

I'm running Apache(XAMPP package) and i'm trying to allow forward slashes in the URI to be able to retrieve parameters sent with encodeURIComponent, so i added the directive AllowEncodedSlashes On ...
1
vote
4answers
913 views

Multiple SSL Certificates Running on Mac OS X 10.6

I have been running into walls with this for a while, so I posted at stackoverflow, and I was pointed over here... I am attempting to setup multiple IP addresses on Snow Leopard so that I can develop ...