Current time: 05-19-2024, 01:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
File does not exist: /htdocs
Author Message
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #10
RE: File does not exist: /htdocs
The RewriteRule was wrong. Replace the /etc/apache2/sites-available/01_awstats.conf with this:

Code:
#
# AWStats Begin
#

Alias /awstatsicons "/usr/share/awstats/icon/"


NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P]
        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$1 [P]
        RewriteRule ^/stats/(.*)$ http://localhost/stats/$1/ [R]
    </IfModule>

    ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl"

    <Directory /usr/lib/cgi-bin>
        AllowOverride none
        Options +ExecCGI
        DirectoryIndex awstats.pl
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

#
# AWStats End
#
(This post was last modified: 04-03-2008 03:19 AM by Kika.)
04-03-2008 03:18 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
File does not exist: /htdocs - DaSilva - 04-02-2008, 06:04 PM
RE: File does not exist: /htdocs - Zothos - 04-02-2008, 06:16 PM
RE: File does not exist: /htdocs - DaSilva - 04-02-2008, 06:34 PM
RE: File does not exist: /htdocs - Zothos - 04-02-2008, 07:26 PM
RE: File does not exist: /htdocs - DaSilva - 04-02-2008, 07:42 PM
RE: File does not exist: /htdocs - joximu - 04-02-2008, 08:38 PM
RE: File does not exist: /htdocs - DaSilva - 04-02-2008, 10:28 PM
RE: File does not exist: /htdocs - joximu - 04-02-2008, 11:46 PM
RE: File does not exist: /htdocs - prale - 04-03-2008, 01:39 AM
RE: File does not exist: /htdocs - Kika - 04-03-2008 03:18 AM
RE: File does not exist: /htdocs - DaSilva - 04-03-2008, 04:53 AM
RE: File does not exist: /htdocs - Kika - 04-03-2008, 03:11 PM
RE: File does not exist: /htdocs - RatS - 04-03-2008, 04:58 PM
RE: File does not exist: /htdocs - DaSilva - 04-03-2008, 05:44 PM
RE: File does not exist: /htdocs - Kika - 04-03-2008, 08:00 PM
RE: File does not exist: /htdocs - DaSilva - 04-03-2008, 08:57 PM
RE: File does not exist: /htdocs - joximu - 04-04-2008, 05:54 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)