search for: htaccess

Displaying 20 results from an estimated 432 matches for "htaccess".

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 apache.org website, ht...
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
...M, 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 all > > to the apache 2.4 version > > Require all granted > > See http://httpd.apache.org/docs/2.4/upgrading.html Not there still. In /var/www/html I created .htaccess: # ls -lstra total 12 4 drwxr-xr-...
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'', ''**/*.gif...
2016 Aug 28
0
.htaccess file
On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote: > > I'm just not following or understanding. The .htaccess file works but on a > slow DSL, I don't want the hits. What exactly is slow when you receive requests from remote clients that you don't want? Are you actually seeing problems when clients make requests and Apache has to read in your 2MB .htaccess on every request? And if so, you might...
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 th...
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 f...
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 http://www.nuonce.net/bq-cd.php Also the .htaccess for the /files subdirectory will no...
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 understood. Can somebody help out this rsync newbie? /usr/local/bin/rsync --verbose --progress --stats --co...
2005 Jul 14
0
htaccess authentication asks for MySQL table test.user_info
...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 Brent ! Daniel ----- Original Message ----- From: dan1 To: centos at centos.org Subject: [CentOS] htaccess authentication asks for MySQL table test.user_info Hello again. I just found out a work-around to this problem. We have to remove the mod_auth_mysql module with 'rpm -e...
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 don''t want Rails to look in certain directories, # use the following rewrit...
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
...M, 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 all > > to the apache 2.4 version > > Require all granted > > See http://httpd.apache.org/docs/2.4/upgrading.html Thing is, I don't have an .htaccess file ANYWHERE on this system. I checked. I'...
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. The .htaccess file works but > > on a slow DSL, I don't want the hits. > > What exactly is slow when you receive requests from remot...
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 u...
2007 Feb 10
3
How to prevent reading of an xml in a particular directory from browser in apache on Centos4.4
...stem 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 browser. <Files ~ ".xml"> Order allow,deny Deny from all Satisfy All </Files> Even though the above entries are there in .htaccess still I am able to read "site.xml" file. How do I prevent the reading of this file ? H...
2008 Oct 06
8
.htaccess rewrite
can someone help me with an .htaccess rewrite? i''m trying to convert all requests to "/?spot=8888" to be "/locations/ 888". thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post...
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
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 created...
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
2008 Jun 13
2
public/.htaccess missing from Rails 2.1?
I just started with rails and have been using rails 2.0.2 up until today. I did a gem install of Rails 2.1 and I noticed that when I created a new project with: rails -d mysql projectname, I don''t have a .htaccess file any longer to tell Apache to execute the fcgi or cgi scripts... Is this on purpose or did I do something wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to th...
2016 Aug 28
0
.htaccess file
> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of TE Dukes > Sent: Sunday, August 28, 2016 10:36 AM > 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. ... > So, today, I tried following the directions for apache.org website, > https://httpd.apache.org/docs/current/howto/htaccess.html to move the > .htaccess What version of CentOS are you using? For 7.x, and I think 6.x, the...