DeveloperSide.NET Forums
November 21, 2019, 11:50:31 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Before installation questions?  (Read 44648 times)
0 Members and 2 Guests are viewing this topic.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #30 on: July 28, 2007, 04:59:44 AM »

I've testing it out on my local system. It's a webroot problem. You cannot place VHs into the global DocumentRoot.

Place them outside webroot as above, with the php code into the dir block. It should work then. I'll update the thread about VHs in the main support forum.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
aticama
Member
*
Posts: 20


View Profile Email
« Reply #31 on: July 28, 2007, 08:10:10 PM »


Do you mean like this:

NameVirtualHost *:80


<VirtualHost *:80>
ServerName american-horse-enterprises.com
DocumentRoot "/www/webroot/american-horse-enterprises.com"


<Directory "/www/webroot/american-horse-enterprises.com">
   Order Allow,Deny
   allow from All
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps   
</Directory>


</VirtualHost>


<VirtualHost *:80>
ServerName gs-koi.com
DocumentRoot "/www/webroot/gs-koi.com"


<Directory "/www/webroot/gs-koi.com">
   Order Allow,Deny
   allow from All
AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps   
</Directory>


</VirtualHost>


To be placed in ?????
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #32 on: July 28, 2007, 11:20:13 PM »

Place those dirs under \www\vhosts\ and update the config with the new paths.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
aticama
Member
*
Posts: 20


View Profile Email
« Reply #33 on: July 29, 2007, 02:42:08 AM »

I do not have a www\vhost in my directory. Do I create this folder, and then put it in?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #34 on: July 29, 2007, 04:12:52 AM »

Create the \www\vhosts\ dir.
Place your VH dirs under this dir.
Update httpd-vhosts.conf
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!