RE: .htaccess for script aliased directories‏

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

 



> > OK, for 1, I requested a non existant test file and this is the result from
> > the error log:
> >
> > [Fri Apr 25 15:38:14 2008] [error] [client 12.345.678.91] File does not
> > exist: /home/userdir/www/test
>
> You need to request a non-existent file under awstats to make this meaningful.

 

 That's what I did.  I pointed browser to http://www.mydomain.com/awstats/afasfsafdsafsa and got:

 

[Fri Apr 25 16:14:12 2008] [error] [client 12.34.567.12] script not found or unable to stat: /usr/local/awstats/wwwroot/cgi-bin/afasfsafdsafsa


Unless I am not understanding you?  OK I also pointed my browser to http://www.mydomain.com/fasfdasdfsafda and got:

 

[Fri Apr 25 16:16:52 2008] [error] [client 12.34.567.12] File does not exist: /home/userdir/www/fasfdasdfsafda

 

> > [Fri Apr 25 15:35:18 2008] [error] [client 12.34.678.91] (2)No such file or
> > directory: Could not open password file: /home/userdir/htpasswd
>
> That seems pretty clear. Your AuthUserFile directive is configured
> incorrectly. It isn't pointing to an actual user file. You've obscured
> the configuration in different ways pretty-much every time you've
> posted it, which makes it impossible for me to tell you exactly what
> it should be.

 

I checked the AuthUserFile directive, and it's the correct name and location of the htpasswd file.

I even tried changing permissions and ownership on the htpasswd file to apache,

then to the owner of the account,

then back to root, nothing worked.

 

Unless, am I not supposed to point AuthUserFile to the password file for the user

trying to log in and point it to something else?

 

>
> Joshua.

 


Spell a grand slam in this game where word skill meets World Series. Get in the game.

[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