lan虚拟主机上的登录问题

时间:2013-07-29 14:31:57

标签: php mysql apache2 lan

我在一台机器上创建了一个虚拟主机,我可以在另一台机器上访问它,但是我无法登录到我正在使用的另一台机器上运行的应用程序,但我可以查看登录界面.. ..我现在不是问题是什么,它让我感到困惑。 我正在使用PHP 5和MySQL。虚拟主机上的设置如下。

<VirtualHost 10.52.2.211:80>ServerAdmin webmaster@localhost
    ServerName piet.moyatech
ServerAlias piet.moyatech
DocumentRoot /var/www/piet.local
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
<Directory /var/www/piet.local>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

0 个答案:

没有答案