Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache .htaccess help needed

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  How to use jdb for debugging a servlet?  
Author Message
none5

External


Since: Nov 02, 2003
Posts: 4



(Msg. 1) Posted: Sat Dec 13, 2003 6:17 am
Post subject: Apache .htaccess help needed
Archived from groups: alt>apache>configuration (more info?)

Running Redhat 9. for an Internal website

in /var/www/html
I have my .htaccess file which contains...

---------
AuthUserFile /var/www/html/.htpasswd
AuthName "Username and Password Required"
AuthType Basic

<Limit GET>
require user someuser
</Limit>
--------------

A snippet from my httpd.conf

---------
# AllowOverride controls what directives may be placed in .htaccess
files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
# AllowOverride None
AllowOverride All
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

#
----


The index.html file in /var/www/html is loaded when users initially
connect to my site. Then they choose whether they want info for
dayshift, swingshift, nightshift, and a variety of other
possibilities.

I have these separated out each group having a subdirectory under
/var/www/html/

What's happening is that the user will hit my site., get the
username/pass prompt... enter the user/psw and ger in.
They make the choice of where they want to go (i.e Dayshift)
which then calls /var/www/html/dayshift/dayshift.html
and before that page loads, the user is again prompted for the
usrname/psw.... After the 2nd entry of name/psw, it's apparently
cached, because they don't have to enter it again until whenever they
hit the site agan later.

My question is.,.. why does it ask again whenever they leave the root
area to go to any other area (only the 1st time)
I have only one .htaccess file and it's in the html root.


Thanks for any help making me less confused Smile

Tony!

 >> Stay informed about: Apache .htaccess help needed 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
what windows xp service are needed for apache ? - Hi, I have many windows xp services disabled. Which windows xp services does apache need ? When I start apache 2.0.43 on my current windows xp installation it just keeps reading the harddisk. I will now install apache 2.0.48 on another computer which...

apache 2.0 on Windows, .htaccess and cookies - I want to set up my Apache 2.0 server on Windows XP to use .htaccess files for user verification but at the same time also using cookies so that the user only needs to log in once (even though the browser/computer has been shutdown in the meantime). I..

virtualhost/rewrite help needed - Hi I have a (probably simple) vh (and maybe rewrite?) problem - the rule is simple at least and should work IMO - it's strange to me why it doesn't. This is what i do: NameVirtualHost 217.160.75.67 ### ...several vh... <VirtualHost openspirit.d...

Help needed with Name Based Virtual Hosting - Ok folks here's the deal I have a cable modem - firewall - server. I use netsol dnsmanager to handel the fact that i have a dynamic ip. currently www.thedan.org resolves correctly to the isp-given ip address. however even though i have virtual hosts...

Bandwidth - Can not find needed mod or directive - Is there a directive or module for bandwidth control in apache 2.x on RH9? Looking to set the amount of allowed bandwidth used per month on virtual hosts. Would need to be able to set different limits on different virtual hosts. E.G. -- Vhost 1 allowe...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]