problem with vhosts OSx

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

problem with vhosts OSx

Postby bambus1983 » 10. February 2015 16:06

Hi all,
i have vhost mysite.localhost

in hosts:
127.0.0.1 mysite.localhost


in httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot /Users/tom/web/mysite
ServerName mysite.localhost
<Directory /Users/tom/web/site>
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>


when i go to mysite.localhost it is ok! When i go mysite.localhost/admin/index.php my browser redirect to www.mysite.localhost/index.php

What am I doing wrong?
bambus1983
 
Posts: 1
Joined: 10. February 2015 15:58
Operating System: OSx

Re: problem with vhosts OSx

Postby Nobbie » 10. February 2015 18:50

bambus1983 wrote:What am I doing wrong?


Maybe there is a redirection (in a .htaccess or even in the script)?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 17 guests