Apache2 cannot execute cgi files on a USB drive
I am using Kubuntu and trying to get Apache2 to execute perl scripts hosted on a USB drive. The scripts work fine if I put them in the / var / www / script directory but if put them in / media / sda1 / www / script (the usb drive) then make a symlink in / var / www it will not execute. I have the same problem if I change the document root to / media / sda1 /www .
I have set the <Directory> stuff up and turned on FollowSymLinks and ExecCGI. I even tried modifying the settings for / var / www by changing all refrences to / media / sda1 / www and no matter what I do the apache error log says "Permission Denied Exec of ..." whenever I try to do anything with the USB drive. Any ideas? (sorry about the spaces in the directory descriptions... this forum thought I was posting URL's and would not allow them otherwise) |
is your usb device mounted with the noexec flag ?
check with mount |
Quote:
|
All times are GMT -5. The time now is 08:28 PM. |