[linux] apache is not being my friend today
Jesse Weigert
jessew at u.washington.edu
Thu Aug 11 23:54:11 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What does the error log say?
Also, try using su to switch to the apache user and try reading files
yourself. Sometimes it seems like apache should be able to read the
files, but you might find a reason it can't.
Jesse Weigert
PGP key: http://students.washington.edu/jessew/jesseweigert.asc
Jonathan Nicol wrote:
| Hi all,
|
| I'm setting up a new apache server for my in-office use. Apache2 on
FC4, to be
| specific. I've got two Virtual Hosts; one the default, and one for
"assets".
| The default works fine, but the "assets" site returns a 403 Forbidden
for any
| file, existing or not. I've checked the file permissions 3 times. Am I
missing
| something here? Appreciate any suggestions or pointers. Relevant
sections of
| httpd.conf follows.
|
| thanks,
| Jonathan
|
|
| Listen 80
| Include conf.d/*.conf
| User apache
| Group apache
| ServerAdmin root at bluegecko.net
| ServerName oswald.office.bluegecko.net:80
| UseCanonicalName Off
| DocumentRoot "/var/www/html"
| <Directory />
| Options FollowSymLinks
| AllowOverride None
| </Directory>
| <Directory "/var/www/html">
| Options Indexes FollowSymLinks
| AllowOverride None
| Order allow,deny
| Allow from all
| </Directory>
|
| <Directory "/home/*/www/html">
| Options Indexes FollowSymLinks
| AllowOverride none
| Order allow,deny
| Allow from all
| </Directory>
|
| NameVirtualHost *:80
|
| <VirtualHost *:80>
| ServerName oswald.office.bluegecko.net
| DocumentRoot /var/www/html
| </VirtualHost>
|
| <VirtualHost *:80>
| ServerName assets.office.bluegecko.net
| DocumentRoot /home/assets/www/html
| CustomLog logs/assets_access_log combined
| ErrorLog logs/assets_error_log
| </VirtualHost>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFC/EeTY5IVgI4AZMERAnrDAJ9cOAN24gP4hwPL9CGK4Tk40+fwUQCeIwYR
MpWVgfhlV+fHK6iH4g8344E=
=VXxS
-----END PGP SIGNATURE-----
More information about the Linux
mailing list