View previous topic :: View next topic |
Author |
Message |
amt167 -
Joined: 02 Jun 2002 Posts: 75
|
Posted: Wed Feb 04, 2004 7:58 am Post subject: httpd.conf |
|
|
BECAUSE THIS IS A LONG POST MY COMMENTS ARE IN CAPS
i know this is a apache thing but i found a script that i managed to get running under abyss (more or less) is httpd.conf the eqevilant (spelt wrong i know) to the abyss.conf? it says in the read me for this script
For Apache Servers: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Locate the "httpd.conf" file and open it using
a text editor such as vi. Modify the line that
contains "DirectoryIndex". It should be modified
to resemble the following:
DirectoyIndex index.php index.html index.htm
THIS HAS BEEN DONE VIA ABYSS CONSOLE I HAVE PHP WORKING
ARE THERE ANY OTHER REASONS WHY THIS SCRIPT WONT WORK UNDER ABYSS IT SEEMS TO BE FINE AT THE MOMENT EXCEPT FOR ONE THING
IT SAYS THE FOLLOWING BUT I CANT LOCATE THE PATHS
ADDING ADITIONAL DOMAINS TO THE SYSTEM
#############################################################
For example purposes we will use 192.168.1.1 as the installation
IP and base.soholaunch.com as the installation domain name.
http://webclient1.soholaunch.com will serve as our "added"
domain client.
1. 192.168.1.1 and base.soholaunch.com have a home document
root of /home/soholaunch/webstudio and the
/etc/httpd/conf/httpd.conf file for apache contains the
following entry (or something similar).
<VirtualHost 192.168.1.1:80>
DocumentRoot /home/soholaunch/webstudio
ServerName base.soholaunch.com
</VirtualHost>
[You may wish to create a dedicated IP that will point "any"
domain that hits it to the same DocumentRoot]
2. Point the A record of webclient1.soholaunch.com to
192.168.1.1
3. Add the following entry to /etc/httpd/conf/httpd.conf
(assuming you have not made the "any" domain provision
mentioned above)
<VirutalHost 192.168.1.1:80>
DocumentRoot /home/soholaunch/webstudio
ServerName webclient1.soholaunch.com
</VirtualHost>
4. Restart Apache. (Typically: /etc/rc.d/init.d/httpd restart)
5. Once the new domain propogates. Type the domain in the web
browser, http://webclient1.soholaunch.com and the site will
appear to be under construction and awaiting your login.
Done; the new domain is technically added to the system once
the domain name owner logs in to the Soholaunch Web Studio
interface the first time using the default user name and
password set up during initial installation of the product. |
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Feb 04, 2004 10:13 am Post subject: |
|
|
Are you running Windows or Linux ?
If you're running Windows you won't find any of
/etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd
since that's the Linux style filesystem...
abyss.conf is a similar idea to httpd.conf but you cannot enter any of the commands you listed into it. Abyss does not yet support subdomains or virtual hosts directly. You will need to use the console to setup aliases, then get any subdomains you have created forwarded to the correct alias. You won't be able to get that section of the script you posted to work. You need to look in the tutorials section at the PHP script for hosting multiple sites instead.
http://www.aprelium.com/forum/viewtopic.php?t=1081 |
|
Back to top |
|
|
|