Koozali.org: home of the SME Server

Mounted harddrive, and handling php/cgi

Offline jongkees

  • **
  • 23
  • +0/-0
    • http://www.fringel.com
Mounted harddrive, and handling php/cgi
« on: October 22, 2006, 06:20:45 PM »
Hello all,

I have added an extra harddrive into my server. This works fine, but because of the size of the OS-RAID-Drives and the extra harddrive I have my pictures and music moved to the other drive. I managed to mount my harddrive to an ibay and make it readable on the internet.
The problem I have is that interactive content, like php, can not be executed because of this mounted situation.

The original ibay (on the OS-RAID-disks) is : /home/e-smith/files/ibays/pict.gallery
In /etc/ftsab the extra hd is mounted as : /dev/hda1   /home/e-smith/files/ibays/drive1  ext3   defaults  1 2
To see the gallery content I have to enter the following my browser : http://www.domainname.com/drive1/files/Albums/
Albums is a subdirectory on drive1.

What do I need to adjust on my server to enable 'Execution of dynamic content (CGI, PHP, SSI)'?
I assume I have to edit httpd.conf.


Two other questions I have is:
    - How do I config my server if I want to browse to :
http://www.domainname.com/Albums/ directly to access my pictures?
-What setting allows the directory to sow an index of all files in that folder when browsing?[/list]
Greetingz, Robert