lamp apache配置虚拟主机

时间:2024-01-01 22:11:57

You don't have permission to access /index.php on this server

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeoAAACUCAIAAADTUP1oAAAeI0lEQVR4nO2d+18UR7735//wd8/zOk/O5tl9zq6J57zO2UvOPsTsJpuLu9FNXN0km/t91HWzZ2OMuRnPxsR7BAkiEUSUmwIqjCIooIiIqCAwMCAw91vPTPcM7Dw/DMz0dFdV1/QMQsvn/fq8kqGmqrrqW9/+UFM0aAr47tLksFsvXGodtA5EpUgsGpFEQUuhWDQSlSKD1oFLHZdcTpvPM8roH4IgCNItE+2NyYmh8xdbvD73VEySxBCHd6dMfComeX3u5kutBQV7iw99e7j4AARBEJRbmQK+MbUcDuu5lvOBgCcWjUhiUIdi0Ugw6G3vuilK0TgAAIBcY/J7xxRyu0bOt15wu+3RaFiMBHQrGg37AsHOnttT09PzPU0AALjfINh3d8/VAetAjMO7ExttRoWpqejIuH14dGK+pwkAAPcbJr93VC775OC51guiKIhiQIz4GZLEQHnZoRMV30uMmmIgGpOuXL8pRWPzPVMAALivUNp3V/eV8YkxSQxGwj6GxEhg+7Yt/7bsX5b/5IGDB3aJkQCtZlQKuT3+geEx2gjC4XBvb29TU1NNTU1NTU1TU1Nvb284HL6XUQAAAMNh8nlsSbmc1rPnmsLhQCTki4S8NIlh//9s++gX//mT3z396DO/+eVP//1HrPphnySJlzpvxKam1JcfGxurra29ePHi1atXb968efXq1cHBwaqqqpqamtHR0XsfDgAAMApp9j0w2Hvj1g0xEgyHvDRFwv7t2z565GfLfv/sr19Y+8yzKx8t/f5gJOxnNImKwuDImNPtVVx7dHS0rq7O4XAEg8Gurq6amprq6urW1tYTJ07U1NRUVlYuWgffvHnzfA8BALDQMfk8I0ld7b48PjEaCfvCIQ9RkbBv+7Ytv/z5sudXPf7SupXPPfursiOFYsRPqz/byu9wuRXnJ6FQqKqqyu12T01NxWKxQCBw4cKFilnq6uq6u7srKytDoRB53CaT4ssEjDrEThStdPRjSoe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O5OwBSZWzujGS3VPKckygIpCWidyiGEk+jy1kLWpps40fcypUwD2Jz9WvhGHYTHn5VtonkNbd277JgUz61XTnUXEkfDkcKpI666Bfc8xuuw7/UOXzAzTT0MJK5f+Q4zU6lI6zLF9y3+gIrurlZmd/n7aD2zVs6d3nGio275lJjWzsyGVZBVAZSFtWWWQZ5ve9cznaXqhKkTaM00bsuwMl23f7HxTLrE1+VQs2d5p605fR1KSUHvUuWqZZlF6P6p3OXI4NSWtuwb2Pcdo23fy01X65y9ZsdIJTSaTKc9sziN/YFMdkqUZkLxD2c9wLMk35RlI/FhIa5Xqf3Zs8ttaMU7ZICm3cV4eaUTKhqkvZW5iMplM5vzUdOWvUyGwyAoTY7AqStJ/xqUngOoYkpeVVF8RRtnE039Iwiokz4tUIh+AmdQVdaa0fFMMY+aSspeygwxZgFXrTgmyhZEk5HjqWjXixCmFtG9IynfZOSxvzL5rFA2VuyaQPfibJ5mDPcXiJKN1R5KAuQf2nTm4MxcnsG+wwIB9Z4js8yZuzkVERuuOJAH3BNg3AAAYEtg3AAAYEtg3AAAYEtg3AAAYEtg3AAAYkv8PXxvMFQ/5tocAAAAASUVORK5CYII=" alt="" />

directoryIndex  index.html index.php index.htm index.shtml login.php

/etc/httpd/conf/httpd.conf

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOsAAABxCAIAAAC7lcOnAAAKFUlEQVR4nO2d3bHjKBBG+3ETIodNgESoDYMQ5pEs9DCRbE0ouw8I1DTdWPKPJHy/U64pD1cCWTpqIdHG9Jf/lzYSERFFAmAWYDCYm85gTxQu2xoAjtIaDMBswGAwNzAYzM3Y4GX5zhf4HmAwmBsYDOYGBg9w5Qk5uC8PDE7k2pLYqhA9uXC9kR8yOBL5J/crOAvV4CylzzE4Evly7CNRJ/HnXsF9qq09iAAcF0oY6rkh0mBHaaGlHDpp8EIprH7XwylicHBrYV0gMvtrK3yV6Lfy4CgkJfb7KJtoKrfb9Wz19U+iaoM+AIckWwfXww3uj1Bv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jPu2s1D2an8tGyOlnIYuWuYjX/3UsLgo5wag3+XN3+X94X9BrdDtbGYx3M1iZRfIlexYrCSZ2y0W39rfP2R7x0XDc8yG7ScUxh8iPMM/tOWPGmwaWqg6NcwGXZ/K8k0uNsYq93a0LrAY4OtXzbftggGH+E8g4noT4nBv95vsKcUyEcKfr2g70lJON9g34TyfjNh8FFONfg/Foyf70Xw7kHz/bm4mhcTpX0PFvYbbLX7hMFl03IwhsEvcp7Bv9h//yGifG8n83qtfF/1G6DtI7CQtrj4uBMcZP25+kGecd9uXTiUv/p8/zeSeKsmUUyl5e7GcinzDevloHCTp2kAPAkMBnMDg8HcwGAwN88ZLO8uvuUF5gMGw+C5gcEweG4OGezKY/3LVYPBYOWQwXXKp/6RvZjPLHo5/j/FC8yHarA63unYuOqy0BLZgFHJzjrHs+A+1RbVHDMwC9LgMiraw+fckwYvlMLqfT38IgbnUX1+GkRmf22dr8KnWQ2OQlJiv5VtGx+1yweRU51UlYjKuC/SEOaAGzw4cq5NbOkNtoRuXmWe6Pw+2+OZbTnBdtPXs/L26zZ9DA6OtRjbk0Frd4nNFuY62Qc2z2RwL7LBInz2iElPnzZYFmppKmuMdN3qg15EItfmwETfzAGvdsq3esoCgoe7BVyPiMHq0RIBmIa9iMMG99lXZxlcW68Vik+NGDwBoh+sdiT6Wad7+Xx7J7fX4IWCUzIpl+5phue5jK7Yye4gt8L+BLAMzmuxTV1BF2IilGcR7fHrAzBpT9OqXv1XI5RpoNs7MK8tL06kxnJ1kuF2k6ztUfN/ayXEzgcwBw+fB0ftcFrX9/lebXgG8/FjR5X51L41MIP5+LEGqy8wHzAYBs8NZsAGcwODwdzAYDA3MBjMDQwGcwODwdzAYDA3MBjMDQwGcwODwdzAYDA1/wPN597k0t5RbQAAAABJRU5ErkJggg==" alt="" />

解决apache AH01630: client denied by server configuration错误

post by rocdk890 / 2014-4-16 15:58 Wednesday linux技术

昨天给公司配置了apache-2.4.9的版本,今天他们要求把虚拟主机配置起好放网站程序,在修改apache-2.4.9的配置文件中,我发现了 2.4.x跟以前的2.2.x里面的很多配置都不一样了,比如配置这个虚拟主机都有一些不同,按照以前的配置方法,会报下面的错误:
AH01630: client denied by server configuration: /usr/local/apache/htdocs/recx/

先给大家看看我按照apache-2.2.x配置虚拟机的内容:
NameVirtualHost 192.168.10.81:80

<VirtualHost 192.168.10.81:80>
ServerAdmin rocdk890@gmail.com
directoryIndex  index.html index.php index.htm index.shtml login.php
ServerName 192.168.10.81
DocumentRoot /var/www/vhosts/wwwroot
<Directory "/var/www/vhosts/wwwroot">
    Options -Indexes

AllowOverride All

Order allow,deny
    Allow from all

</Directory>
</VirtualHost>

然后下面是apache-2.4.x配置虚拟机的内容:
<VirtualHost 192.168.10.81:80>
ServerAdmin rocdk890@gmail.com
directoryIndex  index.html index.php index.htm index.shtml login.php
ServerName 192.168.10.81
DocumentRoot /var/www/vhosts/wwwroot
<Directory "/var/www/vhosts/wwwroot">
    Options -Indexes

AllowOverride All

Require all granted
</Directory>
</VirtualHost>

Addons::::apache配置虚拟主机

NameVirtualHost *:

<VirtualHost *:>
ServerAdmin webmaster@example.com
ServerName example.com
ServerAlias www.example.com
DocumentRoot /srv/www/example.com/public_html/
ErrorLog /srv/www/example.com/logs/error.log
CustomLog /srv/www/example.com/logs/access.log combined
</VirtualHost> <VirtualHost *:>
ServerAdmin webmaster@example.org
directoryIndex index.html index.php index.htm index.shtml login.php
ServerName example.org
ServerAlias www.example.org
DocumentRoot /srv/www/example.org/public_html/
ErrorLog /srv/www/example.org/logs/error.log
CustomLog /srv/www/example.org/logs/access.log combined
</VirtualHost>

调试前后对比

先给大家看看我按照apache-2.2.x配置虚拟机的内容:
NameVirtualHost 192.168.10.81: <VirtualHost 192.168.10.81:>
ServerAdmin rocdk890@gmail.com
directoryIndex index.html index.php index.htm index.shtml login.php
ServerName 192.168.10.81
DocumentRoot /var/www/vhosts/wwwroot
<Directory "/var/www/vhosts/wwwroot">
Options -Indexes AllowOverride All Order allow,deny
Allow from all </Directory>
</VirtualHost> 然后下面是apache-2.4.x配置虚拟机的内容:
<VirtualHost 192.168.10.81:>
ServerAdmin rocdk890@gmail.com
directoryIndex index.html index.php index.htm index.shtml login.php
ServerName 192.168.10.81
DocumentRoot /var/www/vhosts/wwwroot
<Directory "/var/www/vhosts/wwwroot">
Options -Indexes AllowOverride All Require all granted
</Directory>
</VirtualHost>