Displaying 20 results from an estimated 7000 matches similar to: "using conf.d files to override options in httpd.conf"
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]
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
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
More joy with Centos 7.
I am having permission problems with Postfixadmin. I am installing as I have in my notes I did in Centos6 and it is not working.
I untar Postfixadmin into /usr/share. The owner is root:root (I even
tried root:apache). My postfixadmin.conf file has:
alias /mailadmin /usr/share/postfixadmin
<Directory "/usr/share/postfixadmin">
AllowOverride
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
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
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
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
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 12:42 PM, Pete Biggs wrote:
> On Fri, 2017-02-17 at 12:02 -0500, Robert Moskowitz wrote:
>> More joy with Centos 7.
>>
>> I am having permission problems with Postfixadmin. I am installing as
>> I have in my notes I did in Centos6 and it is not working.
>>
>> I untar Postfixadmin into /usr/share. The owner is root:root (I even
>> tried
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 Jan 06
3
fastcgi on apache
Running on Fedora Core
I have been playing with some of the tutorials and one of them had me
install lighttpd and lighttpd-fastcgi and that was much faster than
apache seems to be.
How do I get fastcgi stuff to work on apache...
I have this setup for my tutorial environment in httpd.conf
<VirtualHost *>
DocumentRoot /home/craig/cookbook/public
ServerName cookbook
<Directory
2014 Oct 23
2
httpd on centos 7
I have read the info on apache 2.4...
I added to the bottom of httpd.conf these lines (and restarted httpd)
-------------------------
<Directory /var/www/html>
# old 2.2 config
# Order Allow,Deny
# Allow from all
AllowOverride None
Require all granted
</Directory>
<Directory /home/silentm/public_html/gifs>
AllowOverride None
Require all granted
</Directory>
2015 May 07
2
Apache 2.2 itk - 404 not found
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 index.html and
a phpinfo.php file in the /var/www/html folder. If point the browser
specifically to http://server/index.html, I get a '404 Not found error'.
I'm running CentOS
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
2015 May 07
3
Apache 2.2 itk - 404 not found
I forgot to mention it. All the files under /var/html are owned by
apache:apache
On 15-05-07 04:07 PM, Eric Lehmann wrote:
> 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
2006 Jan 03
3
RoR and Apache2 and app in local directory
Hi all. I''m at my wits end.. I''m trying to set up a Rails app (on a
Ubuntu system), within the public_html directory in my home directory
(as opposed to the /var/www/ directory). ie. in
/users/john/public_html/myapp
I have a simple app setup, and using the Webrick server it works fine.
But trying to get Apache to work is becoming a pain in the *&^*.
I followed the
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
2009 Sep 20
2
SSL and virtual hosts?
Hi,
I successfully managed to use SSL on a local webserver for testing
purposes, following the section "Using SSL" in the Chapter "Using
Apache" of the "Definitive Guide to CentOS". Now I wonder: how can I use
SSL with virtual hosts?
I have several virtual hosts defined. Let's say I want to use SSL with
this one:
<VirtualHost *:80>
ServerAdmin info
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and
I must be missing something very obvious because I cannot get things
working properly. Here is what I need:
1) The server must be running apache 1.3. A very large body of PHP
content is currently vended by the server through 5 vhosts and I have
neither the time nor resources to replace apache1 with apache2 or
lighttpd. Maybe
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file:
2006 Apr 14
3
Rails deployment
Hi all,
I''ve greated a rails application and i want to deploy it right now.
I have to use a windows 2003 server.. So i installed
i''ve used the following tutorial:
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows
My application is running at : http://loc.iwsweb.nl
But everytime i connect it opens a ruby process but at the end it won''t
kill it.
As you can see