Displaying 20 results from an estimated 5000 matches similar to: "Apache configuration: minor problem with special characters"
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
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
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 Jan 26
3
Help on implementing rails from html with php
Hi guys, just started using rails and is trying to implementing the
present html with some rails...
However i met this problem when i am trying to port over some php code
in html to rails and i cant find any method to successful convert the
php codes.
Below is a feature i tried to implement in rails way:
there are 2 buttons on the html. Besides these 2 buttons is an infobox.
So, whenever
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 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
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
2007 Nov 23
3
CopyHandler and hidden files?
Hello,
I was wondering whether the CopyHandler plugin works with hidden files
like .htaccess? I have an .htaccess under src/ and another one under
src/code/, but they won''t be copied to output/. My config.yaml is:
File/CopyHandler:
paths: [''**/*.css'', ''**/*.js'', ''**/*.jpg'', ''**/*.png'',
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
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:11 PM, Pete Biggs wrote:
>> From error.log:
>>
>> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client
>> 192.168.160.12:48290] AH01630: client denied by server configuration:
>> /usr/share/postfixadmin
> So it's an authorisation issue. In your .htaccess file change
>
> Order allow,deny
> Allow from
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
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
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
2007 Feb 10
3
How to prevent reading of an xml in a particular directory from browser in apache on Centos4.4
hi friends,
I have configured a HelpDesk Ticketing System on Centos4.4. The
problem I am facing is that there is a file called "site.xml" which
contains the information about database connections and I don't want
ppl to be able to read that file through browser. As per the
readme.htm of that software if the below entries will be put in
.htaccess then nobody can read the xml through
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:11 PM, Pete Biggs wrote:
>> From error.log:
>>
>> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client
>> 192.168.160.12:48290] AH01630: client denied by server configuration:
>> /usr/share/postfixadmin
> So it's an authorisation issue. In your .htaccess file change
>
> Order allow,deny
> Allow from
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
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
2007 Jan 19
2
Rails Deploy Files - Remove?
So, now that we''re using Mongrel and not the horrid FCGI, do I really
need these files in my Rails apps:
dispatch.fcgi
dispatch.cgi
.htaccess
??
The .htaccess file has rules for rewriting that look FCGI based. For
Mongrel, I do my Apache re-writing in my config file, right?
is there a reason to include these files at this point?
Hunter