Displaying 20 results from an estimated 3000 matches similar to: "Problems with UserDir directive on CentOS 5"
2005 Mar 10
7
Problem with apache in CentOS 4.0 (final)
Hi everyone!
In my new CentOS 4.0 (final ;-) I installed apache and activates
SELinux, When I
tried to enter a page of some user (localhost/~user) said to me that she
did not have permissions
to see it, and this was incorrect, because the permissions was 755
(/home/user/html). After awhile it was happened to me to deactivate
selinux and
I reinitiated the machine and I work!
Somebody knows why
2016 Dec 28
4
Help with httpd userdir recovery
On 12/28/2016 03:32 PM, J Martin Rushton wrote:
>
> On 28/12/16 20:11, Robert Moskowitz wrote:
>>
>> On 12/28/2016 01:53 PM, m.roth at 5-cent.us wrote:
>>> Robert Moskowitz wrote:
>>>> On 12/28/2016 05:11 AM, Todor Petkov wrote:
>>>>> On Wed, Dec 28, 2016 at 5:18 AM, Robert Moskowitz <rgm at htt-consult.com>
>>>>> wrote:
2016 Dec 28
2
Help with httpd userdir recovery
On 12/27/2016 07:43 PM, John Fawcett wrote:
> On 12/28/2016 01:12 AM, Robert Moskowitz wrote:
>>
>> On 12/27/2016 07:06 PM, John Fawcett wrote:
>>> On 12/28/2016 12:34 AM, Robert Moskowitz wrote:
>>>> On 12/27/2016 05:44 PM, John Fawcett wrote:
>>>>> That error should be caused by having MultiViews options but incorrect
>>>>>
2016 Dec 28
4
Help with httpd userdir recovery
On 12/28/2016 05:11 AM, Todor Petkov wrote:
> On Wed, Dec 28, 2016 at 5:18 AM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>> Which is why I wonder if there is some different config for the C7.3 version
>> of apache.
>>
>> Or something with the C7-arm build...
> Can you check for SELinux warnings/errors in /var/log/audit/audit.log?
Good advice. As I
2016 Dec 27
2
Help with httpd userdir recovery
I lost my harddrive on my little personal webserver that only serves
some private files from my userdir.
So I am trying to build this from notes on a new Centos7.3 installation
(well really Centos7.3-arm, but supposedly same sources).
Right now the server is running on a test subnet, not the production,
but I have set up the hostname and my standard httpd edits. I have
enabled userdir and
2015 Sep 25
5
httpd userdir problem
I'm running httpd-2.4.6-31.el7.centos.1.x86_64
under CentOS-7 (kernel 3.10.0-229.14.1.el7.x86_64).
I cannot get the httpd userdir facility working;
when I try to access localhost/Menloe I get the message
"You don't have permission to access /Menloe on this server."
I see in /var/log/httpd/error_log
"Symbolic link not allowed or link target not accessible:
2016 Dec 28
3
Help with httpd userdir recovery
On 12/28/2016 01:53 PM, m.roth at 5-cent.us wrote:
> Robert Moskowitz wrote:
>> On 12/28/2016 05:11 AM, Todor Petkov wrote:
>>> On Wed, Dec 28, 2016 at 5:18 AM, Robert Moskowitz <rgm at htt-consult.com>
>>> wrote:
>>>> Which is why I wonder if there is some different config for the C7.3
>>>> version
>>>> of apache.
2016 Dec 28
2
Help with httpd userdir recovery
Robert,
On Wed, 2016-12-28 at 01:43 +0100, John Fawcett wrote:
> On 12/28/2016 01:12 AM, Robert Moskowitz wrote:
> >
> >
> > On 12/27/2016 07:06 PM, John Fawcett wrote:
> > > On 12/28/2016 12:34 AM, Robert Moskowitz wrote:
> > > >
> > > > On 12/27/2016 05:44 PM, John Fawcett wrote:
> > > > > That error should be caused by
2016 Dec 28
1
Help with httpd userdir recovery
On Wed, 2016-12-28 at 08:20 -0500, Robert Moskowitz wrote:
>
> On 12/28/2016 07:35 AM, Louis Lagendijk wrote:
> > Robert,
> > On Wed, 2016-12-28 at 01:43 +0100, John Fawcett wrote:
> > > On 12/28/2016 01:12 AM, Robert Moskowitz wrote:
> > > >
> > > > On 12/27/2016 07:06 PM, John Fawcett wrote:
> > > > > On 12/28/2016 12:34 AM,
2016 Dec 28
4
Help with httpd userdir recovery
On 12/27/2016 07:06 PM, John Fawcett wrote:
> On 12/28/2016 12:34 AM, Robert Moskowitz wrote:
>>
>> On 12/27/2016 05:44 PM, John Fawcett wrote:
>>> That error should be caused by having MultiViews options but incorrect
>>> permissions (711 instead of 755) on the directory.
>> I just did chmod -R 755 /home/rgm/public_html and no change in behavior.
>>
2015 Sep 25
3
httpd userdir problem
Look in /etc/httpd/conf.d/ for userdir.conf.
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Timothy Murphy
Sent: Friday, September 25, 2015 1:04 PM
To: centos at centos.org
Subject: Re: [CentOS] httpd userdir problem
Timothy Murphy wrote:
> I'm running httpd-2.4.6-31.el7.centos.1.x86_64
> under CentOS-7 (kernel
2017 Feb 21
3
SELInux conflict with Postfixadmin
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.*
This goes away with 'setenforce 0', so it is an SELinux issue. I have
tried both:
restorecon -Rv /usr/share/postfixadmin
and
chcon -R -t
2016 Dec 27
2
Help with httpd userdir recovery
On 12/27/2016 02:58 PM, Leonard den Ottolander wrote:
> Hello Robert,
>
> On Tue, 2016-12-27 at 12:43 -0500, Robert Moskowitz wrote:
>> My understanding (most likely flawed) is that Indexes are needed to see
>> the list of files in mydir,
> Correct.
>
>> and to be able to walk down to subdir.
> Incorrect. The index is a convenience. Without it directories with
2016 Dec 27
4
Help with httpd userdir recovery
On 12/27/2016 11:48 AM, Leonard den Ottolander wrote:
> Hello Robert,
>
> On Tue, 2016-12-27 at 10:25 -0500, Robert Moskowitz wrote:
>> I can display the /home/rgm/public_html/index.html file that only has
>> "Hello World' in it (to prevent anyone from walking my file tree from
>> the root).
> To prevent people walking a directory structure you better disable
2016 Dec 28
2
Help with httpd userdir recovery
On 12/28/2016 01:43 AM, John Fawcett wrote:
> On 12/28/2016 01:12 AM, Robert Moskowitz wrote:
>>
>> On 12/27/2016 07:06 PM, John Fawcett wrote:
>>> On 12/28/2016 12:34 AM, Robert Moskowitz wrote:
>>>> On 12/27/2016 05:44 PM, John Fawcett wrote:
>>>>> That error should be caused by having MultiViews options but incorrect
>>>>>
2016 Dec 28
2
Help with httpd userdir recovery
On 28/12/16 21:24, m.roth at 5-cent.us wrote:
> Robert Moskowitz wrote:
>>
>>
>> On 12/28/2016 03:32 PM, J Martin Rushton wrote:
>>>
>>> On 28/12/16 20:11, Robert Moskowitz wrote:
>>>>
>>>> On 12/28/2016 01:53 PM, m.roth at 5-cent.us wrote:
>>>>> Robert Moskowitz wrote:
>>>>>> On 12/28/2016 05:11 AM,
2015 Dec 23
4
C7 apache file access
Pulling out what little hair I have here, but stumbled onto a possible
problem.
I have a server running C6 apache that is set up with personal
directories and no problem showing the files.
You can see it at: medon.htt-consult.com/~rgm/pogo
So I have a C7 apache server I am building. Files I create on the new
server are listing fine. Files I have copied (with cp -avr ...) get
permission
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
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.*
>>
2016 Dec 28
2
Help with httpd userdir recovery
On 12/28/16, 3:09 PM, "CentOS on behalf of Robert Moskowitz" <centos-bounces at centos.org on behalf of rgm at htt-consult.com> wrote:
On 12/28/2016 06:05 PM, J Martin Rushton wrote:
>
> On 28/12/16 21:24, m.roth at 5-cent.us wrote:
>> Robert Moskowitz wrote:
>>>
>>> On 12/28/2016 03:32 PM, J Martin Rushton wrote:
>>>> On 28/12/16 20:11,