0 کاربر و 1 مهمان درحال مشاهده موضوع.
ForbiddenYou don't have permission to access /mt/mt.cgi on this server.
sudo chown www-data:www-data destination_folder
<VirtualHost *>ServerName miladDocumentRoot /home/milad/public_html</VirtualHost>
ScriptAlias /cgi-bin/ /PATH_TO/cgi-bin/
همین پس تنظیمات مربوط به cgi چی ؟
sudo -s -u www-data
cd /etc/apache2/sites-available
cp default test.com
NameVirtualHost 192.168.0.1<VirtualHost 192.168.0.1> ServerAdmin webmaster@test.com DocumentRoot /home/test.com/public_html/ ServerName www.test.com <Directory /home/test.com/public_html/> Options FollowSymLinks AllowOverride All </Directory> ScriptAlias /cgi-bin/ /home/test.com/cgi-bin/ ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On</VirtualHost>
a2ensite test.com
ForbiddenYou don't have permission to access / on this server.Apache/2.0.55 (Ubuntu) PHP/5.1.6 Server at milad Port 80
حواست به دسترسيها برروي شاخه اصلي باشه حداقل read بده