Displaying 20 results from an estimated 5000 matches similar to: "CentOS 4 snag with htaccess"
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
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
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
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
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 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 Jun 15
1
rails + apache2 + mod_auth_mysql + headers
Hello list!
I must confess i am kinda new to rails and my experience is truly
limited. I am searching to do a *quite* simple thing with rails.
I have a db. It has a table with users etc and works fine as it is. I
now want to add some very simple authentication mechanism. Instead of
authenticating through the use of a rails plugin that handles
sessions etc, I want to be able to route the
2008 Feb 18
1
Password Protecting a Root Directory
I have apache running with virtual hosting.
I have a customer who wants to password protect their /user/public_html
directory using htaccess. I've done this many times on directories
inside of that directory with positive results. However, I don't seem to
be able to password protect the document root directory.
Any ideas?
John Hinton
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/.
2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All;
I am trying out the web software from www.drupal.org and I have it
Installed to a point ok in my www.werren.net domains.
Every time I try to use the .htaccess file in the root directory
With even one command showing I get a server mis-config error on the site.
The default .htaccess is shown below
I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks
2016 Aug 28
6
.htaccess file
Hello,
My home system on a DSL line is getting worn out by bad behavior robots.
Awhile back, I created a .htaccess file that block countries by IP blocks.
Its 2MB in size.
I have been running Linux since Slackware 1.0 and moved to Redhat around
2.0. I started after running a BBS using a doorway for newsgroups. Been
hooked ever since.
So, today, I tried following the directions for
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help
I have developed my Rails site under www.mydomain.com/home
Now I want to map it to use www.mydomain.com, what should i change to
this .htaccess file
=============== Content of my .htaccess file under public directory
============
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
# If you
2010 Sep 03
1
Getting the 'hidden' .htaccess file.
I am trying to use rsync to synchronize our pre-release staging site to our production site.
When I run the following command, it will get the other 19258 files, but it will ignore the three .htaccess files in our site. I have searched the internet and can see that it is apparently somewhat tricky to get rsync to capture dot hidden files. I have tried every solution I have found that I
2005 Aug 27
2
Mod_auth_mysql
Hello,
I just upgraded from WBEL 4 to Centos 4.1 per the FAQ. I'm pretty sure
after running 'yum update', mysql and apache were updated.
I was previously using mod_auth_mysql under WBEL 4 to password protect
several directories but now things seem to be broken. When I go to a
password protected directory I get an Internal Server Error 500. The only
explanation in the error log is
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
2016 Aug 28
5
.htaccess file
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Keith Keller
> Sent: Sunday, August 28, 2016 4:23 PM
> To: centos at centos.org
> Subject: Re: [CentOS] .htaccess file
>
> On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
> >
> > I'm just not following or understanding.
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
2009 May 01
2
.htaccess
I use the following .htaccess file to restrict access to certain web
folders to only my IP pool.
Options +Indexes
order allow,deny
allow from x.x.x.
Is there anyway to allow a user right in if there in that IP pool but
require a password if there not?
Matt
2009 Dec 10
3
.htaccess and ?
Hi,
I'm trying to write .htaccess Rewrite rules and it doesn't seem to
work for me:
Match the string between the domain and the question mark: ?
http://www.abc.com/blog:long-name-of-page?action=diff and I want to
redirect it to: http://www.abc.com/blog:long-name-of-page
Any suggestion?
Thanks