Questions tagged [suexec]
97 questions
1
vote
1 answer
Apache RewriteRule for each User directory
I have two directories in each of my users' home folders: .html-data and .cgi-bin. The first one contains static (.html) files, the second one contains files for dynamic document generation.
Each user should be able to publish the content of the…

acid_g
- 11
- 3
1
vote
0 answers
SuExec with Apache2.4 + Php5.6 + mod_proxy_fcgi + php-fpm in Debian 8
I installed Apache2.4 + Php5.6 + mod_proxy_fcgi + php-fpm and other things like Mysql 5.5, Phpmyadmin and munin, no problem. Note: I activated also userdir and rewrite.
Now I want to have more security but SuExec doesn't work and no errors were…

Rey
- 11
- 3
1
vote
0 answers
apache suexec + php + fcgid does not log errors
Strangely my apache does not log errors anymore ever since I managed to enable fcgid and suexec for php processing. Even simple files with only dwakdnawjkdn(); ?> won't create any error, even though they do return a 500 error.
My…

alex
- 417
- 1
- 7
- 10
1
vote
0 answers
FastCGI apache reload issue (suexec)
I am trying to setup a a django (mod-wsgi) app on a server on the subdomain accounts.mysite.com (D.O. Droplet). When I try to reload apache, I get the following errors:
AH00526: Syntax error on line 2 of…

user114253
- 131
- 3
1
vote
1 answer
Apache suEXEC execute script on user dir basis?
Iam looking for a way to run a script with different users.
I dont want to hardcode the users in the config... and I found some information that it should be possible that the user goes to... lets say:…

nicondev
- 131
- 3
1
vote
1 answer
trac: "Internal server error (500)" with mod_fcgid and mod_suexec
I try to setup Trac on a shared server with shell access, SW is Trac 1.0.1, Python 2.6.6, Apache 2.2.15 with mod_fcgid and mod_suexec.
I've set it up following the instructions from the wiki of my hoster, https://uberspace.de/dokuwiki/cool:trac…

panne
- 21
- 5
1
vote
1 answer
Errors getting apache working with fcgi and suexec
I have a Debian 6 server and I was previously using Apache with mod_php but decided to switch to using fcgi instead since Wordpress was somehow causing Apache to crash. I have the following in my site's Apache config file:
Options…

Mike
- 689
- 3
- 9
- 27
1
vote
1 answer
How to enable group-writable suexec-capable CGI scripts?
I have been asked to set up a shared webspace on our department webserver that may be accessed by multiple people and which might be running CGI or PHP scripts. The people maintaining the webspace might decide to use it for file submissions, which…

asciiphil
- 3,086
- 3
- 28
- 53
1
vote
1 answer
apache+php-fpm and security in shared enviroment compared to apache+suexec+mod_fastcgi
I've been using Apache with suexec and mod_fastcgi. It starts up PHP handlers as the selected system user and listens to request via PIPES (fastcgi protocol). It works well but can't share opcode via many handlers.
I've been investigating php-fpm…

user172372
- 11
- 1
1
vote
1 answer
Multiple VHosts with FastCGI and Suexec
I have a Debian virtual machine server which I have full control over, but I have someone who wants to host a single domain on it. This is obviously a security concern, as even if his particular user cannot read all of the other domain's files, any…

bountiful
- 151
- 3
1
vote
2 answers
Can't Get New Instance Of RT To Start
I am trying to transplant an instance of RT 4.0.1 (with local code customization) from a CentOS 4 server to a CentOS 6 server.
My problem appears to be that I can't get the fastcgi script to start.
When apache starts, it gives this error:
[Mon Mar…

David Mackintosh
- 14,293
- 7
- 49
- 78
1
vote
1 answer
Mechanism behind user forwarding in ScriptAliasMatch
I am following this tutorial to setup gitolite and at some point the following ScriptAliasMatch is used:
ScriptAliasMatch \
"(?x)^/(.*/(HEAD | \
info/refs | \
objects/(info/[^/]+ | \
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) |…

jolivier
- 141
- 1
- 9
1
vote
1 answer
How to download source, modify source, recompile and build .deb package?
I have to customize my Apache2 suExec module to ensure some special environment variables getting passed through suExec.
How to download the source code form Debian package apache2-suexec, modify suexec.c -> safe_env_lst, recompile and build a .deb…

burnersk
- 2,056
- 5
- 27
- 39
1
vote
1 answer
suexec failing scriptalias without logs
I am trying to install gitolite 3 on a apache2 server. So I need to run a CGI script owned by git:git. My configuration for achieving this (based mainly on this) is:
ServerName myserver.com
ServerAlias git
…

jolivier
- 141
- 1
- 9
1
vote
0 answers
suexec executes world writable php files and files owned by root. why?
I've configured my server to use suexec for php this weekend. Now I've recognized that suexec also serves files owned by root or that are world writable. But this seems to me not like the standard behavior documented here.
So why does suexec work…

nazco
- 387
- 2
- 5
- 11