logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: vhost settings
Author
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Thu 11 Oct '12 8:28    Post subject: Reply with quote

James:
I remind one thing.
Does the apache virtualhost environment lower the web or apache server's security?Do you have suggestion about this?My live site was hacked yesterday.Hope virtualhost has no security issues.
Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 11 Oct '12 9:43    Post subject: Reply with quote

maskego wrote:

Does the apache virtualhost environment lower the web or apache server's security?


Well that is not to this topic. vhosts do not decrease the security from apache. The things that make it weaker against attacks are the software / scripts you run on. Apache itself out of the box is solid.
Back to top
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Thu 11 Oct '12 9:53    Post subject: Reply with quote

I run virtualhost successfully now.I install phpts instead of phpnts,it runs well now.Thanks you for your config for reference.I will keep to check it's running. :)And,should I set AllowOverride None to AllowOverride All if I have .htaccess at the documentroot?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 11 Oct '12 20:14    Post subject: Reply with quote

maskego wrote:
I run virtualhost successfully now.I install phpts instead of phpnts,it runs well now.Thanks you for your config for reference.I will keep to check it's running. :)And,should I set AllowOverride None to AllowOverride All if I have .htaccess at the documentroot?


If you realy need the .htaccess than yes. But is better to Leave AllowOverride to none and put the .htaccess stuff into the config of the vhost. Else apache will read the .htaccess with each request that makes it slower. The config file is only read once while startup. For that see http://httpd.apache.org/docs/current/howto/htaccess.html#when
Back to top


Reply to topic   Topic: vhost settings View previous topic :: View next topic
Post new topic   Forum Index -> Apache