Displaying 20 results from an estimated 60000 matches similar to: "CentOS 7 httpd cgi script file not able to write to /tmp"
2017 Jan 20
2
CentOS 7 httpd cgi script file not able to write to /tmp
Fun fact... If I echo my data to the same directory as the script is
located in it works. But it does not allow writing to /tmp
I'm good with that.
Thanks,
Jerry
On Fri, Jan 20, 2017 at 9:54 AM, Jerry Geis <jerry.geis at gmail.com> wrote:
> Hi - Thanks for the reply.
>
> I actually have selinux disabled on this box.
>
> Jerry
>
>
2017 Jan 20
0
CentOS 7 httpd cgi script file not able to write to /tmp
Hi - Thanks for the reply.
I actually have selinux disabled on this box.
Jerry
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>
2017 Sep 04
2
selinux denial of cgi script with httpd using ssl
Everyone,
I am trying to use a cgi perl script for a CentOs 7 website that works
fine with selinux in permissive mode but fails with selinux in enforcing
mode.
The problem I have is that I can not find where the selinux error
message is being recorded.
It does not appear to be in the /var/log/messages
or /var/log/audit/audit.log. I do not get
any /var/log/httpd/ssl_error_log entries. I do get
2017 Sep 04
5
selinux denial of cgi script with httpd using ssl
Thanks for your help.
I did pick up an additional entry in the audit file :
type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for
pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi" dev="dm-0"
ino=537182029 scontext=system_u:system_r:httpd_t:s0
tcontext=unconfined_u:object_r:httpd_sys_content_t:s0 tclass=file
Unfortunately, I am not sure how the
2018 Nov 30
1
Php script not running
Hi All, I have centos 7. Apache and php are installed.
CGI runs fine - php does not seem to run.
I have the /etc/httpd/conf.d/php.conf file
php.conf
#
# Cause the PHP interpreter to handle files with a .php extension.
#
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
#
# Allow php to handle Multiviews
#
AddType text/html .php
#
# Add index.php to the list of
2011 Mar 31
2
script question
I can do "simply" search and replace with sed.
However, I want to setup httpd.conf from a script
that changes the default "/" which is presently:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
and change it to the following:
<Directory />
Order Deny,Allow
Deny from all
AllowOverride None
</Directory>
How do
2009 Aug 06
2
traceenable for httpd
On centos 5.3 x86_64 I can add "traceenable off" to httpd.conf and that
works well.
however this doesnt seem to work for centos 4.7 i686.
Is there a similiar named option on 4.7?
Jerry
2007 Nov 27
4
Need help with httpd.conf not rendering cgi or php files
I got this working perfectly at home - what should be exact same setups-
- Fresh install of CentOS 5 32-bit from DVD
- yum update & upgrade
- Reboot
- yum install mysql-server
- Download phpmyadmin and bugzilla from their respective home pages
- Move both to /var/www/html, naming the extracted phpmyadmin directory as
phpmyadmin, the same with bugzilla
- Copy my working httpd.conf file from
2020 Oct 13
3
::1 in /var/log/httpd/access_log on CentOS 7
I see "MANY" of these
::1 - - [13/Oct/2020:10:46:08 -0500] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 (internal dummy
connection)"
in the log file. This is not me connecting as ::1 is localhost.
What is this - how might I stop it ?
Thanks
Jerry
2011 Dec 19
1
Question on httpd
I have been requested to ensure the httpd on a server is version 2.2.21
or later.
How do I verify that?
On CentOS 5.7 x86_64 it says its version 2.2.3-53.
is that equivalent to 2.2.21 in RedHat land with the way they do versions?
Thanks.
Jerry
2014 Oct 02
3
slammed
I just got SLAMMED with accessed to httpd from
91.230.121.156
I added the address to my firewall to drop it.
FYI
host 91.230.121.156
156.121.230.91.in-addr.arpa domain name pointer
no-rdns.offshorededicated.net.
Jerry
2018 Jul 10
3
Certbot error CentOS 7.5
Hi All - I am running CentOS 7.5 and trying to use certbot.
I am getting an error 403 forbidden on the
/.well-known/acme-challenge/-CG_gSckofY5ln7TdMvoanDI1_FBRh8otQkyB0hxmoo
Some searching indicated permission problems... I also noticed that the
/var/www/html directory does not even have the .well-known directory in
it. The /var/www/html directory was root:root I changed it to root:apache
2017 Feb 21
2
SELInux conflict with Postfixadmin
On 02/21/2017 11:46 AM, Zdenek Sedlak wrote:
> On 2017-02-21 17:30, Robert Moskowitz wrote:
>> postfixadmin setup.php is claiming:
>>
>> *Error: Smarty template compile directory templates_c is not writable.*
>> *Please make it writable.*
>> *If you are using SELinux or AppArmor, you might need to adjust their
>> setup to allow write access.*
>>
2018 Jun 15
6
wildcard certificate
Hi all - I am trying to figure out how to add a wild card certificate given
to me for a CentOS installation. I have a script that sets up HTTPS so I
am a little familiar with things - but they provided me two files:
name_ee.crt
name_i1.crt
I'm not sure how to apply that to the /etc/httpd/conf.d/ssl.conf file?
Anyone done that before ?
My initial searches were not helpful. Thanks,
Jerry
2005 Oct 10
2
centos on 64M 350Mhz pentimum II
All,
I have an old computer 64M 350Mhz pentium II.
centos os 4.1 installs on it fine. however on boot
it says low memory and it kills certain processes. httpd or sendmail.
I have a 2GIG swap and I did a chkconfig XXX off on a few things
like xfs, nfs, httpd, kudzu.
My old 2.4 kernel used to run in 4M with a swap...
I had recompiled the kernel (took a while) to enable the cyclades module.
Any
2017 Sep 04
0
selinux denial of cgi script with httpd using ssl
HI,
Try disabling Don't Audit rules
semodule -DB
Then check /var/log/audit.log
To re-enable
semodule -B
On Tue, Sep 5, 2017 at 5:07 AM, Gregory P. Ennis <PoMec at pomec.net> wrote:
> Everyone,
>
> I am trying to use a cgi perl script for a CentOs 7 website that works
> fine with selinux in permissive mode but fails with selinux in enforcing
> mode.
>
>
2017 Sep 04
0
selinux denial of cgi script with httpd using ssl
Am 04.09.2017 um 23:49 schrieb Gregory P. Ennis:
> Thanks for your help.
>
> I did pick up an additional entry in the audit file :
>
>
> type=AVC msg=audit(1504561395.709:10196): avc: denied { execute } for
> pid=19163 comm="/usr/sbin/httpd" name="s.check.cgi" dev="dm-0"
> ino=537182029 scontext=system_u:system_r:httpd_t:s0
>
2010 Mar 25
3
httpd stopped working under SELinux so I had to turn SELinux off. libxml2.so.2: failed to map segment from shared object: Permission denied
Hi.
CentOS 5.4 64-bit with SELinux, happily running for over a year, suddenly
httpd fails to start up, getting an error message like:
Starting httpd: Syntax error on line X of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: libxml2.so.2:
failed to map segment from shared object: Permission denied
I turned off SELinux and was able to start httpd.
But what went
2008 Jul 24
1
selinux & httpd & portmap
Having problems starting httpd & portmapper
#service httpd start
/usr/sbin/httpd: error while loading shared libraries: libm.so.6: cannot
open shared object file: No such file or directory
and I traced it to selinux, which I had just turned on for the first time:
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: