Acerca de Linux, BSD y notas personales

Archives for apache category

Options +Indexes
AuthName “Restricted Area”
AuthType Basic
AuthUserFile /home/carlosap/.htpasswd
AuthGroupFile /dev/null
require valid-user
<Files .htaccess>
order allow,deny
deny from all
</Files>

Apache amdbox virtual hosts config

<VirtualHost 201.114.101.7:80>
#SuexecUserGroup "#502" "#503"
ServerName yucas.info
ServerAlias
www.yucas.info
DocumentRoot /home/merifest/public_html
ErrorLog /home/merifest/logs/error_log
CustomLog /home/merifest/logs/access_log common
ScriptAlias /cgi-bin/ /home/merifest/cgi-bin/

Read more… »

Subdomain Apache

Subdomain Configuration
Published: Monday, August 16, 2004

Check

Subdomain Configuration

A subdomain configuration is very similar to a domain name configuration. The only difference is that the subdomain entry is tied to the corresponding domain name lookup. A request for the subdomain (e.g. http://content.websitegear.com) will be routed to a DNS server containing the DNS information for the parent domain (websitegear.com). Once the DNS record for the subdomain is resolved to a particular IP address, the request is sent to the web server listening on that IP address. The web server can now delegate the request to the particular website based on the subdomain name in the host header of the request object. Various combinations of subdomain configurations are possible by using DNS server entries and web server application setup for load distribution, application isolation or security purposes. Check

 

Read more… »