Apache: Won't Send Some Files 403 Errors and More
I've got Apache 2, MySQL 4, and php 5 upgraded on my server, but now Apache will only send files in the very of the level of the file system. Also, when its send any image I just get the name of the image in the browser. You can see the problem site at example of what I'm talking about at campusword dot com
I've struggled with this for about 15 hours and read everything I could find on the subject tod I would post the conf files below, but it won't let me as I've not had 5 post. I've got virtual hosts setup and the domains are going to the files. I've also got mime_magic_mod installed and on. I've got it pointing to the mime.types file in the conf folder. Thanks for any help, Chris |
Do those images exist?
I'm running get requests and I keep getting 404 errors. |
On the filesystem they exsist
The files exsist on the filesystem within the top-level folder that apache serves. Apache just doesn't look for the files apparently.
As soon as I get 5 post I'll post the httpd.conf and httpd-vhosts.conf |
Somethings to Help in the Search
The following is excerpts from the httpd.conf and httpd-vhosts.conf. Replace " dot " with a ., and " colon " with a :.
Quote:
|
Apache Configuration Settings
./configure --prefix=/usr/local/apache2 \
--enable-access=shared --enable-auth=shared \ --enable-auth_anon=shared --enable-auth_dbm=shared \ --enable-rewrite=shared --enable-speling=shared \ --enable-alias=shared --enable-auth=shared --enable-auth=shared \ --enable-cgi=shared --enable-dir=shared --enable-expires=shared \ --enable-mime_magic=shared --enable-mime=shared \ --enable-proxy=shared --enable-vhost_alias=shared \ --enable-suexec=shared --enable-access=shared --enable-auth \ --enable-auth_anon=shared --enable-auth_dbm=shared \ --enable-auth_digest=shared --enable-include=shared \ --enable-log_config=shared --enable-env=shared --enable-cern_meta=shared \ --enable-expires=shared --enable-headers=shared --enable-usertrack=shared \ --enable-unique_id=shared --enable-setenvif=shared --enable-dav=shared \ --enable-status=shared --enable-autoindex=shared --enable-asis=shared \ --enable-info=shared --enable-dav_fs=shared --enable-negotiation=shared \ --enable-imap=shared --enable-actions=shared |
did you check the apache error log?
|
Yep. Going back to 1.3
I'm going back to 1.3. I think I found the problem: I used the new Apache 2.2 and it is not well documented on the web.
News ALERT: Apache 1.3 works! Thanks for the help. I'm going to get a test of the other up and running next. Good day, Chris |
hmm... interesting... I have no problems running apache 2.2.0 and php5... although, i'm running a much simpler set up...
|
What I mean by well documented is I couldn't just search and find like I can with 1.3. It took basically compile time for Apache 1.3: which is a lot less than 2.2.
Thanks again for the help. |
All times are GMT -5. The time now is 12:12 AM. |