Hi all
Am real newbie to DA and to a un-managed server!, always had a managed service.
My new un-managed server is
Dell CS24-SC - Intel Dual Xeon L5420
OS: CentOS 5.x Version: 64-bit
CP: DirectAdmin with Softaculous
16 GB RAM
HD 1 TB SATA
I have now managed to setup all three of my websites with help from searching DA forum user posts, all sites seem to resolve ok running…Q
But one of my sites is php/database driven and I have problem with a htaccess file in a image folder were users can upload images
htaccess Code:
Options -Indexes
Options –ExecCGI
AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
<Files ^(*.jpeg|*.jpg|*.png|*.gif|*.bmp)>
order deny,allow
deny from all
</Files>
At the moment this code blocks all my images, if I remove htaccess file from folder all my images are seen again?
Do I need to add Apache Handler to the users control panel for it to work??
Any help would be greatly Appreciated Thanks.
Am real newbie to DA and to a un-managed server!, always had a managed service.
My new un-managed server is
Dell CS24-SC - Intel Dual Xeon L5420
OS: CentOS 5.x Version: 64-bit
CP: DirectAdmin with Softaculous
16 GB RAM
HD 1 TB SATA
I have now managed to setup all three of my websites with help from searching DA forum user posts, all sites seem to resolve ok running…Q
But one of my sites is php/database driven and I have problem with a htaccess file in a image folder were users can upload images
htaccess Code:
Options -Indexes
Options –ExecCGI
AddHandler cgi-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
<Files ^(*.jpeg|*.jpg|*.png|*.gif|*.bmp)>
order deny,allow
deny from all
</Files>
At the moment this code blocks all my images, if I remove htaccess file from folder all my images are seen again?
Do I need to add Apache Handler to the users control panel for it to work??
Any help would be greatly Appreciated Thanks.