This isn't directly related to OpenEMR...though it does have bearing on the 4.1 package extras I am trying to get together before we pack up our 5010 stuff for windows xampp
I created working localhost stuff in system32 hosts file.
In xampp\apache\conf\ httpd.conf
Include conf/extra/httpd-vhosts.conf
is not commented out
In httpd-vhosts.conf I left all the commented out junk and tried to use the following:
- Code: Select all
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
</VirtualHost>
<VirtualHost www.starfrontiers.org>
DocumentRoot "C:\xampp\htdocs\starfrontiers\"
ServerName starfrontiers.org
ServerAlias www.starfrontiers.org
<Directory "C:\xampp\htdocs\starfrontiers\">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost arsponline.org>
DocumentRoot "C:\xampp\htdocs\ARSP\"
ServerName arsponline.org
ServerAlias www.arsponline.org
<Directory "C:\xampp\htdocs\ARSP\">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
After changing this, I can't even get the apache server started....
I have followed many examples of how to set up virtualhosts (with and without changing windows host file) and using several different variants of syntax I have found. Nothing seems to work. I know that a good bit of configuration went into creating the xampp package for openemr, and there are a number of bits that do things like set directory permissions for OpenEMR. I did change xampp\htdocs\index.php to go to the /arsp/ directory to avoid getting the xampp page without specifically navigating there via localhost, but I really need to get my three different domains all set up on this single server. In IIS, it was easy for me, but I am missing something here....
