Problem with Wildcard Subdomains

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Problem with Wildcard Subdomains

Postby timkant » 18. October 2010 16:27

Hey Everybody,

I have a little problem configuring wildcard subdomains in Apache with Xampp on Mac.

I've set up Vhosts for the apps I'm running locally, and everything is running just nice.

However, when I try to set up a wildcard subdomain, things seem to screw up. This is what I did to create a wildcard subdomain:

In the httpd-vhosts.conf file I added this:
<VirtualHost *:80>
ServerAlias *
DocumentRoot "/Applications/xampp/htdocs/appnamep/trunk"

In the httpd-xampp.conf I added this:
Alias smartfact-app/trunk "/Applications/xampp/htdocs/smartfact-app/trunk"
<Directory "/Applications/xampp/htdocs/smartfact-app/trunk">
AllowOverride All
Order allow,deny
Allow from all

In the hosts file I added this:

I also tried to add *
, but no result.

Can sombody tell me what I'm doing wrong? When I try to approach the app with it works just fun, but when i try to use of I get no response.

Thanks in advance!
Posts: 1
Joined: 18. October 2010 16:18

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests