RE: [users@httpd] apache 1.33 ?

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

 



> -----Original Message-----
> From: Brent Clark [mailto:bclark@xxxxxxxxxxxxxxxxxxxx]
> Sent: Mittwoch, 29. Juni 2005 17:01
> To: apache
> Subject: [users@httpd] apache 1.33 ?
> 
> 
> Hi List
> 
> I have an entry in my apache.conf file like so.

I've had a read at this and at your other mail but I can't understand what you're trying to do. There are several problems with this config but I don't have enough information to say what is important. So here are some questions:

- what URL do you want for the freshclam files? 
- what directory has the freshclam files? [/var/lib/clamav ?]

- what URL do you want for the dspam files? 
- what directory has the dspam files? [/var/www/dspam/html/ ?]

- Do you want the dspam files on a different domain name [if so, which?] or on the same domain as freshclam but with "/dspam" added?

- Do you have any .htaccess files in these directories?
- if so, what's in them?

Read also the notes below:

> 
> DocumentRoot /var/lib/clamav

So this is the location of your main server.

> 
> <Directory />
>      Options SymLinksIfOwnerMatch
>      AllowOverride All
> </Directory>
> 
> <Directory /var/lib/clamav/>
>      Options Indexes
>      AllowOverride All
>      Order allow,deny
>      Allow from 192.168.111.0/255.255.255.0

Do you want to deny access to everyone except local addresses?

> </Directory>
> 
> ============================================
> <IfModule mod_alias.c>
>   Alias /dspam "/var/www/dspam/html/"
> </IfModule>
> <VirtualHost dspam.eccotours.local>

Bad idea to use a domain name in a VH tag (needs DNS lookup). Better use IP or just "*".

>    DocumentRoot "/var/www/dspam/html"
>    ServerName dspam.eccotours.co.za

Different domain from VH tag - why?
Do you have "NameVirtualHost" somewhere? Is this meant to be a name-based VH?

>    ServerAdmin it@xxxxxxxxxxxxxxx
>    ErrorLog /var/log/apache/dspam.eccotours.co.za-error_log
>    TransferLog /var/log/apache/dspam.eccotours.co.za-access_log
> 
>    User Debian-exim
>    Group Debian-exim

Can't define User or Group in a VH - these are server-config level Directives.

> 
> <Directory "/var/www/dspam/html">
>    Options FollowSymLinks ExecCGI
>    AllowOverride None
>    Order deny,allow
>    Deny from all
>    AuthType Basic
>    AuthName "DSPAM Control Center"
>    AuthUserFile /var/www/dspam/etc/htpasswd
>    Require valid-user
>    Satisfy Any
>    AuthShadow on
> </Directory>

This directory can only be accessed by loggin in. Is this what you mean by "displaying a prompt"?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> </VirtualHost>
> 
> Every Time type in my URL and leave out the alias, the Dspam 
> alias still
> kicks in and for the likes of me, I cant figure it out.
> 
> all I want is to have the listing of clamav files, and is I 
> want to see
> my dspam stuff, I will then add the alias.
> I have a few other alias that work (for e.g. sarg, squint etc) but as
> soon as I want a directory listing the dspam is displayed.
> 
> If anyone has any advice / tips etc, please dont hesistate in 
> contacting me
> 
> Kind Regards
> Brent Clark
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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