You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Johnno <va...@xtra.co.nz> on 2004/08/28 02:08:28 UTC

[users@httpd] Trying to get the icons directory to work

Hello All,

I am not to sure what I am doing wrong, test.com is entered the icons do not
come up..  The have tried to set /icons/ to /var/www/icons

The rest works 100%, but the icons don't :(

Still no joy here is the config in httpd.conf


<VirtualHost *:80>

ServerAdmin sys@co.nz
ServerName testing.co.nz

VirtualDocumentRoot /var/www/virtual/%0
VirtualScriptAlias /var/www/virtual/%0/cgi-bin

RewriteEngine On
ReWriteLog "/var/log/apache-rewrite.log"
ReWriteRule (.*)cmd.exe(.*)  http://127.0.0.1/
ReWriteRule (.*)root.exe(.*)  http://127.0.0.1/
ReWriteRule ^/logs/.*  http://www.host.net.nz/loginfo [R]

LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
%T %v" Vhost
LogFormat "%V %l %u %t \"%r\" %>s %b" comonvhost

CustomLog "|/usr/bin/cronolog /var/www/logs/combined-access.log" vcombined
ErrorLog "|/usr/bin/cronolog /var/www/logs/combined-error.log"

Alias /icons /var/www/icons
<Directory /var/www/icons>
    Options Indexes MultiViews
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>

Many Thanks,
                    Johnno


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org