Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 (and Samba?) problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
HeartBreakKid
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 76

PostPosted: Wed Nov 05, 2003 6:50 pm    Post subject: Apache2 (and Samba?) problems Reply with quote

Let's see...

I have a webserver running apache2 that I use to host some pictures and other small stuff. I have some SMB directories mounted in /var/www/localost/htdocs/ that contain the the things I want seen from the outside.

Now, the problem is I can see these directories, but NOT the contents...

For instance, my webserver has a directory /pictures/2003-06-29/. This directory has an INDEX.HTML, and in that directory as ROOT or as APACHE I can read the index file (in a terminal or text editor).

However, when I go to that page on my webserver, it is BLANK. View source returns <HTML><BODY></BODY></HTML>.

Another directory /pictures/2003-10-11/ does not have an INDEX.HTML file, and I can see the contents of that directory from the webserver (Options +Indexes). However, if I click on a link that should bring up an image (dsc00001.jpg for example) the page opens up and says that the image cannot be displayed because it contains errors.

Any ideas on a possible solution? I'm up for anything.
Back to top
View user's profile Send private message
joehni
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 175

PostPosted: Thu Nov 06, 2003 2:16 am    Post subject: Reply with quote

Quote:
For instance, my webserver has a directory /pictures/2003-06-29/. This directory has an INDEX.HTML, and in that directory as ROOT or as APACHE I can read the index file (in a terminal or text editor).


Well, INDEX.HTML and index.html are different files in Unix. Did you configure Apache to use the INDEX.HTML as default?
Back to top
View user's profile Send private message
HeartBreakKid
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 76

PostPosted: Thu Nov 06, 2003 7:10 pm    Post subject: Reply with quote

:wink: The capitolization of the word INDEX.HTML was used for effect... It is index.html on the disk... :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum