burgermeister wrote:I had to move my server since my other one is not usable anymore. So I re-installed xampp latest for windows and apache runs fine and mysql blah blah blah. Then I try to access any site and I get a 403 error saying that the files may be read-only. So how do I disable this stupid 403 error problems. I used another server and it has no problems, but it's a non-service webserver so I can't use that.
[Sun Aug 20 21:31:50 2006] [error] [client 208.101.74.220] client denied by server configuration: D:/Applications/Server/htdocs/
burgermeister wrote:...I don't know what you mean with the Allow all directory whatever and such. Please give me an example!
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:/Applications/Server/htdocs"
Izzy wrote:burgermeister wrote:Virtual Hosts configured in the vhost-httpd.conf
Is it possible to post the relevant virtual host container please?
- Code: Select all
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:/Applications/Server/htdocs"
Below this entry there is a <Directory> directive is this configured correctly?
Paste it if you can please.Is the server in the default path c:/xampp ?and I installed a fresh copy on the new server. I just moved over all of the htdocs
<VirtualHost *:80>
ServerAdmin admin@zpanelhost.info
ServerName zpanelhost.info
ServerAlias www.zpanelhost.info
DocumentRoot D:\Applications\Server\htdocs
DirectoryIndex index.php index.html index.htm
</VirtualHost>
DocumentRoot "D:\Applications\Server\htdocs"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
bergermeister wrote:
- Code: Select all
<VirtualHost *:80>
ServerAdmin admin@zpanelhost.info
ServerName zpanelhost.info
ServerAlias www.zpanelhost.info
DocumentRoot D:\Applications\Server\htdocs
DirectoryIndex index.php index.html index.htm
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin@zpanelhost.info
ServerName zpanelhost.info
ServerAlias www.zpanelhost.info
DocumentRoot D:\Applications\Server\htdocs
DirectoryIndex index.php index.html index.htm
<Directory "D:\Applications\Server\htdocs" >
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Users browsing this forum: No registered users and 120 guests