The tag has no usage guidance, but it has a tag wiki.

learn more… | top users | synonyms

4
votes
2answers
6k views

SELinux httpd write access to a directory

I am new to SELinux. came from debian. I want to give httpd access to a directory. SELinux Alert Browser suggests: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ...
4
votes
2answers
11k views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
2
votes
2answers
206 views

configuring httpd for multiple domains on same server

A CentOS 7 web server is hosting one public domain, called mydomain.com. The same server also has a separate vpn that hosts two apps for private authorized/authenticated users only. Httpd is set up ...
1
vote
2answers
47 views

awk regex for apache rewriterule

I have these variant of urls RewriteRule ^/trendy/the-reason-for-example/? http://www.example.com/trendy/the-reason [NC, L, R=301] RewriteRule ^/lol/2015/10..._for-example ...
1
vote
1answer
9k views

httpd fails to start after install

While I try to install server through yum install httpd in Fedora 19, enabling and starting it shows errors. I checked httpd status and it's also failed. Can some body explain what the problem is? ...