خرید بک لینک

Vote count: 0

I have an extension to httpd.conf. I am using it for aliases and changing root: The original root was set to /data/www/html and I need it to be /data/www/pages. For several reasons I do not want to touch the original httpd.conf, therefore, I created the custom_config.conf

custom_config.conf

<VirtualHost *>  
    DocumentRoot /data/www/pages
    Alias "/blah_blah" "/data/www/blah_blah"

    <Directory "/data/www/pages">
        Options None
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

With this, I can access http but not https. I tried <VirtualHost *:443> and restarted the httpd of course, but still not working. I am not an expert with Apache, but I think it has to do something with ssl.conf that is under conf.d forlder; same place I put my custom_config.conf

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 31 فروردين 1395 ساعت: 22:51

صفحه بندی