View previous topic :: View next topic |
Author |
Message |
HeartBreakKid Tux's lil' helper
Joined: 13 Jun 2003 Posts: 76
|
Posted: Wed Nov 05, 2003 6:50 pm Post subject: Apache2 (and Samba?) problems |
|
|
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 |
|
|
joehni Apprentice
Joined: 27 Jul 2003 Posts: 175
|
Posted: Thu Nov 06, 2003 2:16 am Post subject: |
|
|
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 |
|
|
HeartBreakKid Tux's lil' helper
Joined: 13 Jun 2003 Posts: 76
|
Posted: Thu Nov 06, 2003 7:10 pm Post subject: |
|
|
The capitolization of the word INDEX.HTML was used for effect... It is index.html on the disk... |
|
Back to top |
|
|
|