[eluser]skunkbad[/eluser]
[quote author="nZac" date="1275381344"]That worked great vitoco. Thanks a lot!
skunkbad, I am thinking that I should set up a virtual host running linux and set it up like an actual web server. However I have never done that and am new to the Mac OS. What do you recomend? Any good tutorials? Favorite products (i.e. vmware)?[/quote]
If you have an old computer that you can wipe clean and turn into a server, I always loved my experience setting up a Ubuntu Server Edition web server. And while I might seem stupid, I think I actually learned a lot. That said, I'd really rather not have to deal with servers, at least on a professional level. I guess if that was my job I'd be more enthusiastic about tinkering with them, but I'd rather just design/develop.
vhosts isn't that hard to set up on XAMPP. It might be if you do it right, but I just got it working... with SSL by the way, which I love. XAMPP is really cool in that respect. I was a long time wampserver user, but they don't have a reasonable way to set up SSL. Yes, I did manage to get SSL working on wampserver as well, but XAMPP is built in. I sure with XAMPP had the ease of general use that wampserver has though. Wampserver is almost all GUI, which is great for me.
If you wanna see my vhosts file, it looks like this right now:
Code:
#
# Virtual Hosts
#
NameVirtualHost *:80
NameVirtualHost *:443
SSLStrictSNIVHostCheck off
<VirtualHost *:80>
ServerName localhost
DocumentRoot "E:\xampp\htdocs\localhost"
<Directory "E:\xampp\htdocs\localhost">
# this only needs to be here for the error pages
# and the fact that the site doesn't have an .htaccess
RewriteEngine On
</Directory>
</VirtualHost>
#<VirtualHost *:443>
# DocumentRoot "E:\xampp\htdocs\localhost"
# ServerName localhost
# SSLEngine on
# SSLCertificateFile conf/ssl.crt/server.crt
# SSLCertificateKeyFile conf/ssl.key/server.key
#</VirtualHost>
<VirtualHost *:80>
ServerName localhost.codeigniter
DocumentRoot "E:\xampp\htdocs\codeigniter"
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "E:\xampp\htdocs\codeigniter"
ServerName localhost.codeigniter
SSLEngine on
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.community-cart
DocumentRoot "E:\xampp\htdocs\community-cart"
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "E:\xampp\htdocs\community-cart"
ServerName localhost.community-cart
SSLEngine on
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.eatavocados
DocumentRoot "E:\xampp\htdocs\eatavocados"
<Directory "E:\xampp\htdocs\eatavocados">
# this only needs to be here for the error pages
# and the fact that the site doesn't have an .htaccess
RewriteEngine On
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.fastening-systems
DocumentRoot "E:\xampp\htdocs\fastening-systems"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.hemetpoolcare
DocumentRoot "E:\xampp\htdocs\hemetpoolcare"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.iamsentme
DocumentRoot "E:\xampp\htdocs\iamsentme"
<Directory "E:\xampp\htdocs\iamsentme">
# this only needs to be here for the error pages
# and the fact that the site doesn't have an .htaccess
RewriteEngine On
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.imagedevelopmentinc
DocumentRoot "E:\xampp\htdocs\imagedevelopmentinc"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.janome
DocumentRoot "E:\xampp\htdocs\janome"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.newBWD
DocumentRoot "E:\xampp\htdocs\newBWD"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.newhopecares4you
DocumentRoot "E:\xampp\htdocs\newhopecares4you"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.ramseys-auto-detailing
DocumentRoot "E:\xampp\htdocs\ramseys-auto-detailing"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.ranchointeriordesign
DocumentRoot "E:\xampp\htdocs\ranchointeriordesign"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.rickstier
DocumentRoot "E:\xampp\htdocs\rickstier"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.script-library
DocumentRoot "E:\xampp\htdocs\script-library"
CustomLog "E:\xampp\apache\logs\access.log" combined
ErrorLog "E:\xampp\apache\logs\error.log"
<Directory "E:\xampp\htdocs\script-library">
Options Indexes FollowSymLinks Includes ExecCGI
RewriteEngine On
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "E:\xampp\htdocs\script-library"
ServerName localhost.script-library
SSLEngine on
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key
CustomLog "E:\xampp\apache\logs\access.log" combined
ErrorLog "E:\xampp\apache\logs\error.log"
<Directory "E:\xampp\htdocs\script-library">
Options Indexes FollowSymLinks Includes ExecCGI
RewriteEngine On
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.temecula-lawn-care
DocumentRoot "E:\xampp\htdocs\temecula-lawn-care"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.tv-sewingcenter
DocumentRoot "E:\xampp\htdocs\tv-sewingcenter"
</VirtualHost>
<VirtualHost *:80>
ServerName localhost.wordpress
DocumentRoot "E:\xampp\htdocs\wordpress"
</VirtualHost>