Displaying 20 results from an estimated 10000 matches similar to: "Authentication and authorization of static content"
2008 Apr 18
2
Can't get .htaccess to work
Hi,
I'm trying to password protect one of my web accessable
directories and I can't get .htaccess to work in a Centos 5.1 box
Here's what I did
I created an .htaccess file with the contents:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/mysite/.htpasswd
AuthGroupFile /dev/null
require valid-user
and I uploaded it to the dir I want to protect. Then I
2009 May 27
2
Where to put .htpasswd
Hi All,
Where is the proper place to put .htpasswd so I can password protect
directories in /var/www/html?
/etc/httpd/run?
-Jason
2005 Jul 23
2
CentOS 4 snag with htaccess
I'm hitting a snag with htaccess. Have created .htaccess and .htpasswd
files, set up apache directory options just like always... the exact
same setup works fine on CentOS 3, but I can't seem to get it to
authenticate on CentOS 4? Am I just being blind stupid (as in not seeing
something 'exactly the same') or is there something different I'm
missing? I have selinux running
2008 Apr 06
4
Apache Authorization Access Control - location of htpasswd in Centos 5.1?
Hi,
I?m trying to set up a private family web site for genealogy, and want to set up Apache Authorization access control for this site, and once the user has logged in has access to the entire site. I?ve been reading the info at http://httpd.apache.org/docs/2.2/howto/auth.html to learn how to do this. I?m just planning on passing out the same username and password to all family members and
2006 Mar 09
7
How to restrict access to admin part of the page?
Hi!
What is the easiest way to restrict access to some part of the page?
In php i just put .htaccess and .htpasswd files in /admin folder and it
worked.
Now i''ve got one admin folder for controllers, one for views, public
folder and i''m not really sure if it''s still possible. So what is the
easiest way? I don''t have any user logging features on my site,
2006 Sep 06
2
.htaccess in public and adding password protection
While my site is in development I wish to add basic password protection.
At the moment my .htaccess looks like this:
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/httpd/mydomain.co.uk/.htpasswd
AuthGroupFile /dev/null
require valid-user
.htpasswd exists and has an entry, yet I do not get a password prompt?
Does Apache Auth work for dynamic resources or only static
2013 Feb 13
1
htaccess is not working
Hello,
I'm new here, and after trying by myself, I'm looking for some help ...
I have installed webalizer, on my CentOS 6 server. Root path for webalizer is /var/www/usage/
It's working, but after putting a .htaccess in /var/www/usage/ and the appropriate .htpasswd in /var/www/html/auth/ there is no password asked.
Here are my files :
.htacess :
AuthName ?Veuillez vous
2006 Aug 07
1
htaccess htpasswd and satellite connections
Yeah, maybe this is a bit on the edge....
I am discovering several issues with users on satellite internet
connections not being able to authenticate via a htaccess/htpasswd
system. Some users cannot connect at all, some can connect reliably..
and some are hit and miss.. works one day and not the next. Yet those
same users can log in fine if they switch back to their dialup system.
Has
2008 Apr 06
2
Apache Authorization Access Control - location of, htpasswd in Centos 5.1
I don't think it's the path of htpasswd that's the problem but here it
is anyway: /usr/bin/htpasswd.
The problem is more likely that the directory you're trying to create
the password file in with the command "htpasswd -c /passwd/passwords
famsite" doesn't exist.
Iain Lee
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
2006 Mar 23
2
Securing pages
Hi
For the admin pages (which in my case update/delete News) how do I
secure the pages.
I am used to PHP and normally secure the whole folder using HTPASSWD
HTACCESS files
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Mar 13
2
Routing in Rails
I am fiddling around with some special setups and my routing does not work.
So I wonder: how does routing work in Rails?
Is everything caught by dispatch.cgi script because it is the 404 handler?
What happens with static content? Is it supposed to be found before the cgi
script?
2005 May 16
1
htaccess authentication asks for MySQL table test.user_info
Hello.
I tried to create an access file with 'htpasswd -c
/etc/httpd/conf/myfile.htaccess testuser'.
In the SSL directory I have put a .htaccess file containing the followings:
AuthUserFile /etc/httpd/conf/myfile.htaccess
AuthName "Mydomain"
AuthType Basic
require valid-user
This worked with CentOS 3.
Now with CentOS 4, apache version 2.0.52, the access to the page is
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2010 Jun 18
3
free ftp server
Hi,
I'm looking a linux freeware for sharing file with a web browser
interface - protect file by password, send link to download by email....
Something like the following service:
https://www.yousendit.com/
http://www.hongkiat.com/blog/15-great-free-online-file-sharing-alternati
ves/
The idea is to install this service in OUR server for sharing files
beetwen other company. For
2006 Mar 12
11
HABTM selection conditions
Hi,
I am currently trying to learn RoR and there is something I cannot
figure out.
I have two models: Article and Category, that are HABTM-linked.
Everything works fine if I want to select all articles corresponding to
a category, with something like
@articles = @category.find(@params[:id]).articles
However, I have a ''published'' field in my ''articles''
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout file:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>My Demands</title>
<%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %>
<%=
2006 Mar 13
4
Find and eager loading questions
Hi all,
I want to see if I''m not missing something with associations and eager
loading. (I''m currently using Locomotive on OS X and SQLite3.)
I have two simple tables/models, set up properly: teams has_many
:matches and matches belongs_to :teams. Matches has a match number and
a team_id field (along with several other fields) and teams has a
team_number field (again, along with
2008 May 02
3
CruiseControlRb behind apache
I managed to find this in the archives, so far: http://www.nabble.com/Setting-up-CCRB-behind-apache-proxy-tt14016053.html#a14099749
Found a better alternative to doing this in my .htaccess instead of
messing with the httpd.conf, in case someone is interested:
--- snip ---
RewriteEngine On
### for cruisecontrol
RewriteBase /
RewriteRule ^(.*)$ http://localhost:3333/$1 [P]
AuthType Basic
2024 Nov 10
1
How do I stop status.xsl
So how does this work? Are you prompted with a password-only dialog,
then what you type in has to match the value in htpasswd?
On 2024-11-06 14:07, Jordan Erickson wrote:
> This is what I've got to protect against unauthorized views:
>
> ------------------------------------------------------------------------------------------------
> <!-- *** Web server status page
2024 Nov 06
1
How do I stop status.xsl
This is what I've got to protect against unauthorized views:
------------------------------------------------------------------------------------------------
<!-- *** Web server status page protection *** -->
?? <mount type="normal">
????? <mount-name>/status.xsl</mount-name>
????? <authentication type="htpasswd">
???????? <option