Displaying 20 results from an estimated 3000 matches similar to: ".htaccess in public and adding password protection"
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
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
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
2007 Dec 29
2
Cent os 4 .htaccess file not working mod_rewrite enable - how can I test "help"
Hello,
Spend hours attempting to password protect a web directory-
mod_rewrite enabled on httpd.conf file. Seek ideas please
Stephen
Stephen Goldman
System Administrator
MIT Biology
sgoldman at mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication.
I''ve got a Rails site with I think a very typical setup: a mongrel
cluster behind an Apache proxy. So Apache''s handling the static stuff
and it hands off dynamic content to mongrel. I want to put the site
temporarily behind Apache''s basic authentication. What I get when I
do this is that is a password prompt which
2013 Mar 12
4
PuppetDB http web interface user access
Hi All,
Has anyone figured out a nice way to restrict user access to puppetdb''s
http web interface? Such as a .htaccess method or something similar? I
would prefer something along
those lines instead of setting up firewall rules.
-Zane
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and
2006 Mar 13
9
Subversion problem - since you guys talked me into it :)
Following the advice here I''ve been trying to get subversion installed
and working from my virtual dedicated server this weekend. I believe
everything is installed properly, and that all that''s left is to get the
apache httpd.conf file set up correctly.
to talk to my server with my client I''m using the path:
http://svn.mylittlecorneroftheinternet.com/svn/repos/
error
2009 Oct 11
3
SVN hell!
Hi!
I'm trying to install SVN on a latest version of CentOS (5.3). I just did:
yum install subversion
yum install mod_dav_svn
Then i edited /etc/httpd/conf.d/subversion.conf
and here is the content:
========================
<Location /svn>
DAV svn
SVNParentPath /var/www/svn
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS
1997 Sep 03
1
Security Hole. Appache.
Sorry! Unknown (for me) behaviour of Apache was discovered. Suddenly.
Configuration detail:
Linux: 2.0.30
Apache: 1.x.x
srm.conf:
...
Action text/html /cgi-bin/exefile
...
/www-root/sec-dir/.htaccess:
AuthType Basic
AuthName authname
AuthUserFile /itc/passwd
<LIMIT GET POST>
require valid-user
2006 Mar 10
8
XML Databinding frameworks
Are there any XML databinding frameworks available for Ruby / Rails, such as
Castor or JaXB for Java?
Also are there framework such as Apache Axis for WebServices for Rails or
Ruby?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/3cf0cfd3/attachment.html
2010 Jun 03
3
Calendar server
Hi ,all :
I recently switched to using Thunderbird for my email and installed the
Lightning calendar add-on. Now all I need is a remote calendar server.
I just need a simple server to support a few personal calendars and a
shared calendar. Any recommendations for a CentOS / Apache based
calendar server?*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Apr 24
0
.htaccess for script aliased directories
With the great assistance I got here I was able to get .htaccess to work on a centos 5.1 box running Apache 2.2.3 a few days ago.
One other question. I am trying to protect a sub dir within the web space of a domain that is serving site statistics of awstats generated pages. The path to the dir is /home/user1/www/awstats. When testing, I am able to get a username and password prompt for the
2005 Jul 14
0
htaccess authentication asks for MySQL table test.user_info
Hello.
For users interested in the MySQL authentication problem for SSL pages,
there is another way
to prevent mod_auth_mysql to do this mySQL authentication. This has been
reported by Brent:
In the /etc/httpd/conf/httpd.conf file, add the directive:
<Directory xxxxxx/
AuthMySQLEnable off
AllowOverride All
</Directory>
You can also add it to your .htaccess file.
Thanks
2006 Jun 12
8
Input/output error on linux
Hi,
I''m trying to use mongrel 0.3.13 with Rail 1.0
Believe it or not, on OS/X it works well for weeks at a time. On
linux I''m getting Input/output errors after anything from a few hours
to days, never more than a week. Once they start they don''t stop.
The only pattern I''ve seen is that it always (seems) to happen while
rendering an rhtml file.
2007 Sep 08
8
SVN and Rails problem
Hi guys,
I''ve finally managed to get my server up and running with
mongrel_cluster and all that jazz. My rails app works fine, but when I
try to access my svn repos as I was doing before everything was setup
rail is giving me a 404.
What can I add to my httpd.conf to prevent this? Here''s a snip from my
httpd.conf relating to the domain:
---HTTPD.CONF---------------------------
2006 May 07
3
Character Encoding
Hi,
I''m sure I''m doing something dumb, but...
I have an application that dynamically produces UTF8 encoded html
exclusively. This application works using webrick without a problem.
When using Mongrel 3.12.4 it looks as though the encoding is lost and
garbage appears on the string. I suppose this could also be a double
encoding, but personally, I can''t tell the
2006 May 11
2
Adding user name to production log?
All,
In the production log I have entries like:
Processing OpportunityController#new (for 68.213.19.251 at 2006-05-11
10:18:36) [GET]
Session ID: 345b455a2a36af8814081c388d8726f1
Parameters: {"action"=>"new", "controller"=>"opportunity"}
Rendering within layouts/opportunity
Rendering opportunity/new
Completed in 0.02281 (43 reqs/sec) |
2007 Jan 04
10
Intermittent "can''t convert Float into Hash" and results.rb
Hi,
I''m using backgroundrb 0.2.1 in a production environment and for most
parts I''m very happy. We are using it to do some heavy video editing on
the server side and it works great except that under, what seems heavy
load the below problem happens intermittently.
The problem has only happened 5 times out of over 500 runs by our
backgroundrb worker.
This is the code in our
2009 Aug 18
1
WebDav on CentOS?
Hello,
I'm trying to set up webdav on apache on centos. My web area has dav
on set, it's permissions are 775 owner of the apache user and group of the
webdev group which i put users in who can write to the area. As a user
locally logged on to the machine i can cd to the area and create content
though it is owned and has a group of the user who made it i don't think
this is what i