DeveloperSide.NET Forums
December 12, 2019, 08:42:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can the WebApps be used for Virtual Hosts.  (Read 6484 times)
0 Members and 1 Guest are viewing this topic.
hdogg4u
Guest
« on: September 10, 2007, 06:47:34 PM »

Can the WebApps be used for each individual virtual host or does it have to been installed for each site individually.

In this case what would you suggest the best method for this.

Currently my localhost is the only way I can access the webapps

I would like to be able to use any one of my virtual hosts with its own webapp.

HP
« Last Edit: September 10, 2007, 06:53:45 PM by hdogg4u » Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: September 10, 2007, 07:46:58 PM »

In general, you would have to install each webapp separately, with its own database, under each individual virtualhost.
Logged

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


Yeah Dont really ask.

mfaiotto@msn.com
View Profile WWW
« Reply #2 on: September 10, 2007, 09:18:46 PM »

you can change them by going to

Code:
(Install Drive):/www/Apache22/conf/Suite-extra/webapps

And change eg my Example would be wordpress

Code:
<IfModule !mod_rewrite.c>
LoadModule rewrite_module modules/mod_rewrite.so
</IfModule>

AccessFileName .htaccess
<Files ~ "^\.htaccess$">
order allow,deny
deny from all
</Files>

Alias /wordpress "/www/webapps/wordpress"

<Directory "/www/webapps/wordpress">
Options FollowSymLinks
AllowOverride FileInfo

order allow,deny
allow from 127.0.0.1
# allow from all

AddType text/html .php
AddHandler application/x-httpd-php .php
</Directory>

to

Code:
<IfModule !mod_rewrite.c>
LoadModule rewrite_module modules/mod_rewrite.so
</IfModule>

AccessFileName .htaccess
<Files ~ "^\.htaccess$">
order allow,deny
deny from all
</Files>

Alias /wordpress "/www/webapps/wordpress"

<Directory "/www/webapps/wordpress">
Options FollowSymLinks
AllowOverride FileInfo

order allow,deny
allow from all

AddType text/html .php
AddHandler application/x-httpd-php .php
</Directory>

And for the Databases they must be installed onto each databases manually. They aren't Pre-configured for you.
« Last Edit: September 10, 2007, 09:32:49 PM by night2dark2 » Logged

Revolution Gamers Host.
Master of all Gunz Server Hosting Needs.
Revolution Gamers International Gaming Commmunity
Pages: [1]
  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!