httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Glauberman" <rglauber...@michaeli-gymnasium.de>
Subject Re: [users@httpd] apache2 issue getting pictures/stylesheetinknoppix/morphixdistro
Date Thu, 04 Nov 2004 16:53:31 GMT
what happens if you use the image in static html, not php?

> my error log:
> [Tue Nov 02 16:07:59 2004] [notice] Apache/2.0.52 (Debian GNU/Linux)
> configured -- resuming normal operations
> [Tue Nov 02 18:15:36 2004] [notice] Apache/2.0.52 (Debian GNU/Linux)
> PHP/4.3.9-1 configured -- resuming normal operations
> [Tue Nov 02 18:28:17 2004] [error] [client 127.0.0.1] File does not exist:
> /var/www/style.css, referer: http://127.0.0.1/apache2-default/test.php
> [Tue Nov 02 18:28:17 2004] [error] [client 127.0.0.1] File does not exist:
> /var/www/SBlogo.png, referer: http://127.0.0.1/apache2-default/test.php
>
> I can ls /var/www/SBlogo.png and /var/www/style.css.  Furthermore, I can
> directly enter those paths into my webrowser and view them.
>
> Here is an excerpt of /var/www:
>
> Index of file:///var/www
> Up to higher level directory
> ..
> SBlogo.png 15 KB 11/04/04 10:41:46
> ..
> style.css 1 KB 11/04/04 10:41:46
>
>
> DocumentRoot is the debian default, /var/www. Everyone has read rigths to
> every file in /var/www as well as the directory itself.  My mods-enabled
> directory has cgi, cgid, php4, and userdir.
>
> My distro is Morphix, based off of Knoppix (based of Debian), which is a
> Live CD.  the filesystem is compressed before being put in an ISO and on a
> disc.  Before compression, i chroot to the root of the filesystem that
> will make up my liveCD.  From that root, I am successfully able to start
> apache and get the results I expect.  The big difference, as far as I can
> tell, is that the majority of the FS is read-only when run off the
> disc..only some directories can be written to.  For example, I had to
> change the apache.pid file to be weritten to a directory in /tmp.  Of
> couse, this is also in my apache2.conf.
>
> So, could there be somewhere in the process where its trying ot write
> somethign to disc but isnt mentioning it?
> thanks,
>
> dave
>
>> Dave,
>>
>>     I don't mean to insult your eyes, but can you add the actual error
>> log line(s) ?
>>
>> Luis
>>
>>
>> dave@superelite.net wrote:
>>
>>>the images are in a different directory but the path apache gives in teh
>>>error log that it apparently does not exist at is actually the correct
>>>path.  I am not using aliases for my doc root.  They are not missnamed
>>>either, i can physically cut the path/fileneame from the error log and ls
>>>it in a shell.
>>>
>>>I wish it were one of those, that would be somewhat easy =)
>>>
>>>-dave
>>>
>>>
>>>
>>>>are t
> he images in the same directory or in a subdirectory? perhaps
>>>> apache
>>>>has an alias which conflicts with your subdirectory-names. have you had
>>>> a
>>>>look at the filepermissions. apache has to be able to execute and read
>>>> the
>>>>directory and to read the files. have you had a look at the filenames,
>>>>it's
>>>>a difference wether they are spelled lower or uppercase.
>>>>ralf
>>>>----- Original Message -----
>>>>From: <dave@superelite.net>
>>>>To: <users@httpd.apache.org>
>>>>Sent: Thursday, November 04, 2004 10:26 AM
>>>>Subject: [users@httpd] apache2 issue getting pictures/stylesheet in
>>>>knoppix/morphix distro
>>>>
>>>>
>>>>
>>>>
>>>>>I installed apache2 with apt-get. When I ask it for
>>>>> 127.0.0.1/index.html,
>>>>>i get the file but theres no stylesheet loaded and all the pictures are
>>>>>broken. The apache error log says that the files do not exist. However,
>>>>>I
>>>>>can copy the path that it says DNE and ls it no problem. They are in
>>>>>/var/www, the debian default.
>>>>>
>>>>>Even weirder, is when I chroot into the environment when it is still on
>>>>>a
>>>>>HD and I run apache from there, it all works liek a charm. Is it a
>>>>>read-only issue? man am i lost...
>>>>>
>>>>>
>>>>>thanks much,
>>>>>-dave
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>The official User-To-User support forum of the Apache HTTP Server
>>>>>Project.
>>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>>
>>>>>
>>>>>
>>>>---------------------------------------------------------------------
>>>>The official User-To-User support forum of the Apache HTTP Server
>>>> Project.
>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>The official User-To-User support forum of the Apache HTTP Server
>>> Project.
>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message