Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
RE: [SLE] Simple Apache chmod question
  • From: "Phil Shrimpton" <phil@xxxxxxxxxxxxxxx>
  • Date: Thu, 3 May 2001 00:21:11 +0100
  • Message-id: <MMEJJABGNMPNPHEKOGDLOENLDCAA.phil@xxxxxxxxxxxxxxx>
> From: Prosser, Daniel [mailto:dprosser@xxxxxxxxxx]

Daniel,

> > I chmod'ed the htdocs directory
> > to the wrong access rights, and now I can't even access static html
> > pages.
> > Can anyone tell me what the chmod settings should be?
>
> The 'htdocs' should be 755. For security reasons
> the www requests aren't run as root but as "wwwrun"

That works, thanks.


> > Also, I installed Apache (SuSE 7.1) with mod_php4, but when using a
> > browser
> > it insists on trying to download the *.php file, is there
> > something I have to switch on in Apache?
>
> Check to make sure something like this is in your
> httpd.conf (I'm running v1.3.14-6):
>
<SNIP>

Thanks for you help, but I have got my self into a right pickle with the
httpd.conf, is there anywhere I can get a 'clean' version from, so I can
start again?

Cheers

Phil


< Previous Next >
This Thread
  • No further messages