/etc/httpd/conf/httpd_webpanel_vhosts.conf
<Directory "/home/USERNAME/public_html">
AllowOverride All
</Directory>
vhosts.conf : # vhost_start baharan-melk.ir <VirtualHost 208.67.16.18:8181> ServerName baharan-melk.ir ServerAlias www.baharan-melk.ir ServerAdmin xxxxxxxx@yahoo.com DocumentRoot "/home/marvik/public_html" ScriptAlias /cgi-bin/ "/home/marvik/public_html/cgi-bin/ # # Custom settings are loaded below this line (if any exist) # Include "/usr/local/apache/conf/userdata/marvik/baharan-melk.ir/*.conf <IfModule mod_suexec.c> SuexecUserGroup marvik marvik </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup marvik marvik suPHP_ConfigPath /home/marvik </IfModule> <Directory "/home/marvik/public_html"> AllowOverride All </Directory> </VirtualHost> # vhost_end baharan-melk.ir # vhost_start test.baharan-melk.ir <VirtualHost 208.67.16.18:80> ServerName test.baharan-melk.ir ServerAlias www.test.baharan-melk.ir ServerAdmin xxxxxxxxxx@yahoo.com DocumentRoot "/home/marvik/public_html/test" ScriptAlias /cgi-bin/ /home/marvik/public_html/test/cgi-bin/ # # Custom settings are loaded below this line (if any exist) # Include "/usr/local/apache/conf/userdata/marvik/test.baharan-melk.ir/*.conf <IfModule mod_suexec.c> SuexecUserGroup marvik marvik </IfModule> <IfModule mod_suphp.c> suPHP_UserGroup marvik marvik </IfModule> <Directory "/home/marvik/public_html/test"> AllowOverride All </Directory> </VirtualHost> # vhost_end test.baharan-melk.ir |
Problem Solved by editing my .httaccess file