Re: Almost There

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Edgar:

On Sat, 08 Nov 2014 11:09:36 -0600, you wrote:

>I have a feeling the answers to your problems can be found in:
>
>Include /etc/apache2/conf.d/

Nothing in there worth including except mailman.conf and
squirrelmail.conf. Unless you want the security file, too.

>Include /etc/apache2/sites-enabled/

### 000-default:

<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	
	DocumentRoot /var/www/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	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

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

### 001-theglobalvoice.info:

<VirtualHost theglobalvoice.info:80>
	ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxx
	ServerName theglobalvoice.info
	Serveralias www.theglobalvoice.info
	DocumentRoot /var/www/theglobalvoice.info/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>

        <Directory /var/www/theglobalvoice.info/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        <Directory /var/www/theglobalvoice.info/staff>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all

		AuthType Basic
		AuthName "Staff Area"
		AuthBasicProvider file
		AuthUserFile
/var/www/theglobalvoice.info/staff/.htpasswd
		require valid-user
        </Directory>

        <Directory /var/www/theglobalvoice.info/admin>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all

		AuthType Basic
		AuthName "Admin Area"
		AuthBasicProvider file
		AuthUserFile
/var/www/theglobalvoice.info/admin/.htpasswd
		require valid-user
        </Directory>


	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options Indexes FollowSymLinks Includes ExecCGI
MultiViews
#ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>

	ErrorLog /var/log/apache2/theglobalvoice.info/error.log

	# Possible values include: debug, info, notice, warn, error,
crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/theglobalvoice.info/access.log
combined
	ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

Hope these help, and thanks again for all of yours.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux