Displaying 20 results from an estimated 20000 matches similar to: "some security measures I would like to share"
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
2017 Feb 17
1
SOLVED - Re: Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:52 PM, Albert McCann wrote:
>> -----Original Message-----
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Robert
>> Moskowitz
>> Sent: Friday, February 17, 2017 1:40 PM
>> To: CentOS mailing list <centos at centos.org>
>> Subject: Re: [CentOS] Centos 7 httpd Permission problems with Postfixadmin
>
>>> So
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using
apache and scgi. The application runs fine with webrick.
I have a site. Let''s call it "mysite.org". There is a variety of content on
that site.
I would like to add a rails application to that site. Let''s call the
application "myapp".
So we will have urls of the form
2008 Apr 03
2
using conf.d files to override options in httpd.conf
Like many of you, I like to avoid modifying
/etc/httpd/conf/httpd.conf as much as possible. Instead,
modifying or adding files in /etc/httpd/conf.d
However, because /var/www/html is declared within the main
httpd.conf and certain directives are set along with
"AllowOverride None" (thus forbidding use of .htaccess), it
seems like the only way to override any of these options is
to
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
2009 Aug 18
1
httpd .htaccess rewrite for images
Hello,
I'm running httpd on a Centos 5.3 machine. I'm trying to use
.htaccess to disable direct linking to site images. I've got the following
rewrite rule, the domain is test.example.com which is at
/var/www/test.example.com under which is a directory called images.
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(test\.)?example.com/.*$ [NC]
2006 Jan 10
3
ROR setup problems with Suse + apache
hello,
I am tying to run ROR on apache 2 with suse linux 9.3,
and I do not succeed with it.
I set rubby und rails and all scripts are running fine.
my Document root :
/srv/rails/demo/public
I did not setup FastCGI because I could not run it with
normal CGI jet.
my Virtual Server runs on 192.168.0.111
ServerName rails
DocumentRoot /srv/rails/demo/public
<Directory
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral
servers but have problem with one of them.
When I invoke:
root@www ~ # puppet agent --server puppetmaster.domain.ltd --test
notice: Ignoring --listen on onetime run
info: Caching catalog for puppetclient.domain.ltd
info: Applying configuration version ''1326444431''
notice: Finished catalog run in
2009 Aug 21
5
httpd - mysql - paypal.com.tar - hacker
Everyone,
This morning I received a notice from PayPal that one of our sites got
hacked and was spoofing a PayPal web site.
When I checked the the site, I was surprised to find they were correct.
About 5 days a go we had a server that got hacked and somehow the file
paypal.com.tar got uploaded to our server and then stored in a a
subdirectory of /var/www/.
I had previously started a mysqld
2006 Jun 13
0
Moving from a development to a production environment Qs
People,
I have done a few little RoR apps and have struggled to move them from
the WeBrick development environment to a production environment - I have
actually succeeded but what I have done seems clumsy so I must be
missing some things, eg:
In public/.htaccess
RewriteBase /library
In app/views/layout/*.rhtml change:
<li><a href="/library">Home page</a>
2007 May 17
3
Ubuntu rails server
Hello,
I try to install on my ubuntu ruby on rails server.
I have install ruby,rails,gem and all files but doesn''t work.
When i run the server with webrick works perfect but when i use apache
i get this message:
We''re sorry, but something went wrong.
We''ve been notified about this issue and we''ll take a look at it
shortly.
Here are my installed app versions:
2007 Feb 28
0
RoR&Apache - htaccess rewrite directories fail?
On my server I have a directory at the root, /rails/ which contains
other directories with rails projects. In my httpd.conf I have
RewriteEngine On
RewriteLog "logs/rewrite.log"
RewriteLogLevel 9
RewriteCond %{REQUEST_URI} !^/rails/([^/]+)/public/
RewriteRule ^/rails/([^/]+)/?(.*)$ /rails/$1/public/$2 [QSA,L]
So with a GET /rails/test/ you''d get sent to /rails/test/public/ and
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
2006 Jun 22
9
Again on Apache 2
Hello everybody.
I know, I know, another post about Apache 2, but I have looked a lot on
the internet and I haven''t found the answer to my problem.
I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and
installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11
(compiled and installed) and Rails... I don''t know what version as this
one I haven installed
2015 May 07
0
Apache 2.2 itk - 404 not found
Have you checked the file rights under your document root ?
Your apache group need reading right.
Am 07.05.2015 21:42 schrieb "John" <tuxfed at gmail.com>:
> Hi all, Freshly installed apache 2.2 with httpd-itk (from epel). When I
> try to access apache's document root from a browser on local network, it
> always serve me the Apache welcome page, even if I have a
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
2005 Jan 29
1
Asterisk @ Home 0.4 w/ Broadvoice + 5 SIP Phones How To
Okay, I just spent some time getting this done for a
project. I documented the steps performed. Thanks to
all of those who provided input.
As time goes on, and people always have different
settings, this may or may NOT work for you.
-------------------------------------------------
Asterisk @ Home 0.4 HowTo
William Pool (Puddle)
01-28-05
Description: Getting Asterisk @ Home to work with a
2006 Jul 28
0
Apache/Mongrel Deployment Errors
I am having issues with setting up my apache/mongrel cluster.
I am using FC5, and i currently have 3 mongrels running on port
8000,8001, 8002. I am just testing my apache/mongrel deployment on my
development machine and not online. I have apache 2.2.2, and my
httpd.conf is pretty much the exact default after i yum installed apache
2.2.2. in my /etc/httdp/conf.d , i have myapp.conf, which
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
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