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 th
gt;
> On Mon, Apr 21, 2008 at 2:01 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED]>
> > X-Rcpt-To:
> >
> > Pam Astor wrote on Sun, 20 Apr 2008 20:03:16 -0400:
> >
> > > Options not allowed here
> >
> > Please, by now
> Date: Mon, 21 Apr 2008 14:12:20 +0530
> From: [EMAIL PROTECTED]
> To: centos@centos.org
> Subject: Re: [CentOS] Can't get .htaccess to work
>
> pls click below URL
>
> http://openwebmail.org/openwebmail/download/redhat/howto/htaccess/HOWTO.HTML
>
>
> Thank you
> Indunil Jayasooriya
>
> >> That you got a server error is good.> > > Here are the last two log file
> >> entries for that httpd request:> > you want to look in the *error* log if
> >> you look for errors!> > > > I could not access the site,> > which means
> >> exactly what? ;-)
> >
> > OK, starting from scratch th
> That you got a server error is good.> > > Here are the last two log file
> entries for that httpd request:> > you want to look in the *error* log if you
> look for errors!> > > > I could not access the site,> > which means exactly
> what? ;-)
OK, starting from scratch this morning,
here is
> Jim, you forget that he's using .htaccess, the above cannot work there. He >
> has to leave that out.> > Pam: if you can access the directory just fine this
> does *not* mean that > you misconfigured your .htaccess file (although it
> looked like that as > well), it means it is not getting us
> Jim, you forget that he's using .htaccess, the above cannot work there. He >
> has to leave that out.> > Pam: if you can access the directory just fine this
> does *not* mean that > you misconfigured your .htaccess file (although it
> looked like that as > well), it means it is not getting us
> > >For my httpd.conf, I have one main configuration file in /etc/httpd/conf
> > and for each virtual domain, I have individual
> > >www.mydomain.com.conf files with associated virtual host tags inside, and
> > located in /etc/httpd/conf.d directory.
>
> Okay. These are vhost configs only. You *
>
> > Do I also need to add a new entry in httpd.conf or load a new apache
>> > module?
> >
> >Not by default, no.
>>
> >There are several AllowOverrides statements in the default httpd.conf.
> >Which did you modify?
> >
> >The one you wanted should be around line 327, looking like this:
>>
> > Do I also need to add a new entry in httpd.conf or load a new apache
> > module?
>
> Not by default, no.
>
> There are several AllowOverrides statements in the default httpd.conf.
> Which did you modify?
>
> The one you wanted should be around line 327, looking like this:
>
> Options I
> > The syntax for auth stuff changed between Apache 2.0 and 2.2 (which is
> > used in CentOS 5). In particular, you'll need a AuthBasicProvider
> > declaration:
> >
> > http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicprovider
>
> Thans Paul,
> That's new news to me :)
>
> F
> The syntax for auth stuff changed between Apache 2.0 and 2.2 (which is
> used in CentOS 5). In particular, you'll need a AuthBasicProvider
> declaration:
>
>http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html#authbasicprovider
Hi,
Thanks much,
I read the URL, it is a bit too crypti
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/nul
s 5.1
> distro?> > Quoting Pam Astor <[EMAIL PROTECTED]>:> > >> > Hi,> >> > Is
> AWStats included in the Centos 5.1 Distro?> > No, but you can get it from
> rpmforge.> > ___> CentOS maili
Hi,
Is AWStats included in the Centos 5.1 Distro?
_
Going green? See the top 12 foods to eat organic.
http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A___
Cent
> > > > I tried creating a password file by executing htpasswd -c > >
> > > > /passwd/passwords> > > > famsite but apparently htpasswd is not in my
> > > > path, I’m getting the> > > > “cannot create file /passwd/passwords
> > > > famsite” error.> > >> > > That rather sounds like the path
> >
> It sounds like you are very used to the 'Windows' way of doing things.> I
> don't recommend creating a directory in the root filesystem for this>
> purpose. Its a bad idea, and not even a good idea in Windows.> > Is there any
> real need to deny outsiders access to your genealogy site?> You w
> > 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 le
> just my two cents. The command 'htpasswd -c /passwd/passwords famsite' > will
> do two things: create the password file called passwords in the > /passwd
> directory, and add the user famsite to it. So, the directory > /passwd must
> exist, and you did that. However, passwords is a file and >
> Does the /passwd directory exist? It does now. It did not when I
> first ran the command, however I just created the directory
> /passwd/passwordsand re ran the command as root, and still no
> luck.>>>
>>>I think you only need to create the directory /passw
> Just for the sake of simplicity, please create your htpasswd file in the >
> tmp directory and copy it elsewhere. Any user can write in /tmp .. > although
> if you are using the root user this should not be an issue.
Yes I'm doing this as root.
_
> > I tried creating a password file by executing htpasswd -c
> > /passwd/passwords> > famsite but apparently htpasswd is not in my path, I’m
> > getting the> > “cannot create file /passwd/passwords famsite” error.> >
> > That rather sounds like the path /passwd/passwords does not exist or is n
> >>> I tried creating a password file by executing htpasswd -c
> >>> /passwd/passwords> > famsite but apparently htpasswd is not in my path,
> >>> I'm getting the "cannot> > create file /passwd/passwords famsite" error.>
> >>> >> >> >> > Anyone know where the default location of htpasswd is o
> >>> I tried creating a password file by executing htpasswd -c
> >>> /passwd/passwords> > famsite but apparently htpasswd is not in my path,
> >>> I'm getting the "cannot> > create file /passwd/passwords famsite" error.>
> >>> >> >> >> > Anyone know where the default location of htpasswd is o
> >>> I tried creating a password file by executing htpasswd -c
> >>> /passwd/passwords> > famsite but apparently htpasswd is not in my path,
> >>> I'm getting the "cannot> > create file /passwd/passwords famsite" error.>
> >>> >> >> >> > Anyone know where the default location of htpasswd is on
> 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.
Thanks Iain,
> > I tried creating a password file by executing htpasswd -c
> > /passwd/passwords> > famsite but apparently htpasswd is not in my path, I'm
> > getting the "cannot> > create file /passwd/passwords famsite" error.> >> >>
> > >> > Anyone know where the default location of htpasswd is on a cento
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
>> OK when you say livecd, do you mean the Centos 5.1 distro
>> disks? I have a full set of them, a 7 disk set I got from Linux Central.
>> Can I just boot off disk 1 from my set?
>
> LiveCD as in the livecd:
>
> eg :
> http://mirrors.kernel.org/centos/5.1/isos/i386/CentOS-5.1-i386-LiveCD.iso
>
>>
>I'm fairly new to Linux and I'm trying to un install a hard drive from my
>Centos 5.1
>box running KDE. When I built the PC, I installed two 500 gig maxtors in
>the tower,
>then I installed Centos. Now I've decided that I want to remove the slave
>drive and
>use it
Hi,
Does anyone know if there exist drivers for the Hewlett Packard C7710a
scanner? I checked HP, Sourceforge and SANE sites, so far, no luck.
Looking for last minute shopping deals?
Find them fa
Problem has been solved: "sudo mount -t iso9660 /dev/cdrom /mnt/cdrom -o"
mounted the drive after adding "mount /mnt/cdrom" to /etc/festab.
- Original Message
From: Pam Astor <[EMAIL PROTECTED]>
To: centos@centos.org
Sent: Monday, March 17, 2008 1:45:16 PM
I'm having a problem mounting my new
CDRW DVD in my new machine I just built. The motherboard is an Intel
DP35DP, and I connected the CDRW DVD via ribbon cable into the
motherboard IDE slot. Centos 5.1 is installed and functioning fine
so far (ot
- Original Message
From: Karanbir Singh <[EMAIL PROTECTED]>
To: CentOS mailing list
Sent: Sunday, March 16, 2008 7:57:00 PM
Subject: Re: [CentOS] Un Installing a hard drive in a Centos 5.1 box
Pam Astor wrote:
> [EMAIL PROTECTED] ~]# df -h
> FilesystemSize Us
- Original Message
From: Karanbir Singh <[EMAIL PROTECTED]>
To: CentOS mailing list
Sent: Sunday, March 16, 2008 6:44:33 PM
Subject: Re: [CentOS] Un Installing a hard drive in a Centos 5.1 box
Pam Astor wrote:
> OK this is what I have when I run mount - does it appear that
>
> When I physically removed the drive and restarted the PC, centos would
> not boot up and went into a kernel panic. I'm sure I'm supposed to
> somehow unmount the thing before I do this, and that's my question - how
> do I un-install the hard drive - software wise - so that on next boot
> up, cen
Hi Guys,
I'm fairly new to Linux and I'm trying to un install a hard drive from my
Centos 5.1 box running KDE. When I built the PC, I installed two 500 gig
maxtors in the tower, then I installed Centos. Now I've decided that I want to
remove the slave drive and use it as an external backup dr
37 matches
Mail list logo