2012-08-11, 11:00 PM
سلام
من Debian 6 روی یک سرور نصب کردم و روش plesk ریختم الان نمیتونم subdomain تعریف کنم کسی میتونه کمکم کنه گام به گام این کارو انجام بدم؟
کانفیگ فایل آپاچی:
لطفا راهنمایی !
من Debian 6 روی یک سرور نصب کردم و روش plesk ریختم الان نمیتونم subdomain تعریف کنم کسی میتونه کمکم کنه گام به گام این کارو انجام بدم؟
کانفیگ فایل آپاچی:
کد :
Global configuration that will be applicable for all virtual hosts, unless
# deleted here, or overriden elswhere.
#
DocumentRoot "/var/www/vhosts/url/httpdocs/"
#
# Configure the DocumentRoot Properties
#
<Directory "/var/www/vhosts/url/httpdocs/">
Options All
# AllowOverride controls what directives may be placed in .htacces$
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
AllowOverride All
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
#
# Configure Sub-Domain Properties. This prevents those nasty 403 errors
#
# mysql administration tool
#<Directory "/srv/www/phpMyAdmin/">
# Options Indexes MultiViews
# AllowOverride All
# Order allow,deny
# Allow from all
#</Directory>
# a client web site built with CakePHP
<Directory "/var/www/vhosts/url/httpdocs/payment/">
Options All
AllowOverride All
Order allow,deny
Allow from all
</Directory>
NameVirtualHost url:80
# the mysql tool's url
#<VirtualHost phpmyadmin.localhost:80>
# and absolute path
#DocumentRoot "/srv/www/phpMyAdmin/"
#</VirtualHost>
#Same for the Client Site
<VirtualHost payment.url:80>
DocumentRoot "/var/www/vhosts/url/httpdocs/payment/"
</VirtualHost>
لطفا راهنمایی !