 |
Apache2Triad Help, Support and Development The apache2triad help , support and development forums
|
| View previous topic :: View next topic |
| Author |
Message |
cigraphics
Joined: 21 Aug 2005
Posts: 147
Location: Romania, Pitesti
|
| Posted: Wed Jul 26, 2006 3:49 pm Post subject: Subdomain maker by CIGraphics |
|
|
The first thing that you have to do is to go to C:\apache2triad\conf\ and create a directory called vh then in the conf directory open httpd.conf and add this line to the end of the document:
Code:
Include C:\apache2triad\conf\vh\vh_host.conf
Now in the C:\apache2triad\conf\vh\ create a file called vh_host.conf
Now in the C:\apache2triad\htdocs\ create a folder called hosting and in the folder directory create another folder called www
Now edit the script ( hosting.php ) and change the yourdomain.com with your domain if you installed apache2triad into other partition and folders change the path
For example:
Code:
D:\\SERVER\\apache2triad\\htdocs\\hosting\\www\\
IF you have an old version of apache2triad modify this line:
Code:
$cmdast = "httpd -k restart";
and change it:
Code:
$cmdast = "apache -k restart";
After you finished the setup launch the script for example
Code:
http://www.yourdomain.com/hosting.php
Requirements: apache2, slimftpd, windows
I'll make more changes to the script to fix some bugs. Now you can test it if you have problems please post a reply. |
|
| Back to top |
|
razvan162
Joined: 17 Mar 2009
Posts: 3
|
| Posted: Fri Mar 20, 2009 8:57 pm Post subject: |
|
|
| not working for me :((( why? |
|
| Back to top |
|
| |
|