English 中文(简体)
phpmyadmin在放弃某些幽灵时工作
原标题:phpmyadmin working when i turn off certain vhosts

我现在很混淆不清,而我感觉到的是,对我来说,这已使我困惑不解,而且我认为,在这么长的时间里,我会寻求帮助。

我从1起诉东道方和phpmyadmin将在当地工作,将这一host击回地,而Sphpmyadmin则在本网页上结束,我的404人到该网站。 The vhost in question:

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/mayfieldafc/docroot
ServerName mayfieldafc.com
ServerAlias mayfieldafc.local
#CustomLog logs/mayfieldafc-transfer.log combined
#ErrorLog logs/mayfieldafc-error.log

php_value include_path "/usr/share/php:/var/www/mayfieldafc"
php_value error_reporting 2047
php_flag magic_quotes_gpc off
php_flag short_open_tag off

DirectoryIndex index.php index.html

<Directory /var/www/mayfieldafc/docroot>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

RewriteEngine on
#RewriteLogLevel 9
#RewriteLog /var/log/mod_rewrite.log

# Dispatcher wiring
RewriteCond %{REQUEST_URI} !dispatch.php$
RewriteCond /var/www/mayfieldafc/docroot%{REQUEST_FILENAME} !-f
RewriteRule ^(/.*)$ /dispatch.php?url=$1 [L,QSA]

</VirtualHost>

<VirtualHost 127.0.0.1>
DocumentRoot /var/www/mayfieldafc/docroot
ServerName assets.mayfieldafc.com
ServerAlias assets-mayfieldafc.local
#CustomLog logs/mayfieldafc-transfer.log combined
#ErrorLog logs/mayfieldafc-error.log

DirectoryIndex index.php index.html

<Directory /var/www/mayfieldafc/docroot>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
</VirtualHost>

如果任何人都知道有关幽灵和慈爱的东西:D

最佳回答

最后,在我的幽灵环境中,没有任何东西可以改变,而是以明显的答案开展工作。

我刚刚创建了一个单独的幽灵。

servername phpmyadmin.local

我的辛勤努力把该文件提给我的Sphpadmin,所有这些都是好的。

问题回答

姓名 主办一个IP地址上的多个网站,要求你以虚拟Host的名字,而不是其IP地址。 因此,如果在资产-可达夫茨.当地托管,请在资产-可达夫c. 当地/phpmyadmin查阅must。 它在当地东道方开展工作,当时只有一个虚拟影子被配置,因为只有一处地方可供当地IP东道方使用。 没收同一IP上的更多虚拟影子,你需要服务器Name/ServerAlias进入。





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签