Jump to content

Recommended Posts

[color=blue]I had Authentication working at one point in time.  I used httpd.conf to specify the directory I wanted password authenticated.  I decided to change that line to ask for authentication on a different directory, and now it seems to ignore that section and not ask for authentication when you access pages in this directory.  I looked through the FAQ and it only mentions basic troubleshooting of .htaccess files which I tried applying here, but with no luck.  I also scanned through the forum for solutions.

Here's the part of my httpd.conf file with Directory settings:[/color]
"
[tt]<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory /usr/local/www/data>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

<Directory "/usr/local/www/data/xxx">
    AuthType Basic
    AuthName "By Invitation Only"
    AuthUserFile /etc/xxxpass
    Require user aaa bbb ccc
</Directory>[/tt]
"

[color=blue]Also, I don't know if these warnings mean anything, when I restart apache.  I get this:[/color]
"
[tt]$ apachectl restart
/usr/local/sbin/apachectl restart: httpd not running, trying to start
[Tue Jul 11 16:44:01 2006] [warn] NameVirtualHost www.mysite.com:80 has no VirtualHosts
[Tue Jul 11 16:44:01 2006] [warn] NameVirtualHost www.mysite2.com:80 has no VirtualHosts
[Tue Jul 11 16:44:01 2006] [warn] NameVirtualHost webmail.mysite.com:80 has no VirtualHosts
/usr/local/sbin/apachectl restart: httpd started[/tt]
"

[font=Verdana][font=Verdana][font=Verdana][font=Verdana][color=blue]Can someone double check my httpd.conf lines and/or interpret my warnings?

Thanks![/color][/font][/font][/font][/font]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.