Current time: 11-23-2024, 11:25 AM Hello There, Guest! (LoginRegister)


Post Reply 
Just a little simple question ...
Author Message
edony44 Offline
Junior Member
*

Posts: 54
Joined: May 2007
Reputation: 0
Post: #7
RE: Just a little simple question ...
joximu Wrote:@edony44:
you can alter the file /etc/apache2/sites-enabled/master_oo.conf and deactivate the two lines with ServerName and ServerAlias and then make only one line

ServerName admin.yourdomain.tld

reload apache - finished.
Afterwards you should be able to let a user create yourdomain.tld (but he should not mak a subdomain named "admin"... of course... :-)

Here is my master conf file without any change :
<VirtualHost 192.168.0.4:80>

ServerAdmin me@mydomain.com
DocumentRoot /var/www/ispcp/gui

ServerName admin.mydomain.com

ErrorLog /var/log/apache2/users/admin.mydomain.com-error.log
TransferLog /var/log/apache2/users/admin.mydomain.com-access.log

CustomLog /var/log/apache2/admin.mydomain.com-traf.log traff
CustomLog /var/log/apache2/admin.mydomain.com-combined.log combined

Alias /errors /var/www/ispcp/gui/errordocs/

ErrorDocument 401 /errors/index.php
ErrorDocument 403 /errors/index.php
ErrorDocument 404 /errors/index.php
ErrorDocument 500 /errors/index.php

Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanger/

<IfModule mod_fastcgi.c>
SuexecUserGroup vu2000 vu2000
</IfModule>

<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>

<IfModule mod_php4.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>

</VirtualHost>
05-14-2007 10:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Just a little simple question ... - edony44 - 05-14-2007 10:38 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)