Apache issues

1 view
Skip to first unread message

Dominique

unread,
Sep 22, 2007, 1:11:08 AM9/22/07
to reconstructor
Hi, all,

I'm building a LiveCD with a built-in LAMP stack. Everything works
well enough within the chroot environment as I can access the Apache
and MySQL services there. However, within the LiveCD environment,
Apache doesn't seem to process CSS and image files properly (and quite
possibly, other types of files). It does process HTML and PHP files
correctly, though.

Anyone seen this problem before? Any suggestions?

I installed my LAMP stack via the terminal and apt-get. Main
components installed were apache2, php5, php5-mysql, and mysql-
server-5.0.

My apps, Joomla and PmWiki, are installed in /var/www.

No problem with processing PHP pages and MySQL databases. Just the
other types of files.

Thanks in advance.

Evan

unread,
Sep 22, 2007, 11:56:49 AM9/22/07
to recons...@googlegroups.com
I think you need the apache2 modules. Something like mod-apache2-php

Dominique

unread,
Sep 23, 2007, 8:39:28 PM9/23/07
to reconstructor
Hi, all,

Apparently, it's an Apache bug / feature. Apache won't serve files
from unionfs unless add the following line to the configuration file:

EnableSendfile Off

The bug is described in https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/95393

More details on the directive at http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile

Reply all
Reply to author
Forward
0 new messages