You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Wolfgang Paul Rauchholz <wp...@gmail.com> on 2017/12/14 13:36:29 UTC

[users@httpd] [autoindex:error] [pid 16794]

I get error message underneath. I googled and tried to make some changes
but no luck.

[Thu Dec 14 13:49:10.312713 2017] [autoindex:error] [pid 16794] [client
10.5.2.185:63041] AH01276: Cannot serve directory
/var/www/<mydomaim>/html/seeddms/: No matching DirectoryIndex
(index.html,index.php,index.php) found, and server-generated directory
index forbidden by Options directive

I have several services running w/o problems, e.g. piwigo. rainloop,
firefly-iii, emby media server. They are all located in
/var/www/<mydomain>/html/


My setup:
CENTOS 7, httpd-2.4.6-67.el7.centos.6.x86_64. I setup Set Up Apache Virtual
Host.

Document root is be set to individual directories in the /var/www
directory; /var/www/<mydomany>/html
I created an index.html file in /html directory.

A virtual host files is created in /etc/httpd/sites-available and created
also /etc/httpd/sites-enabled directory, which I added to
/etc/httpd/conf/httpd.conf at the end; IncludeOptional sites-enabled/*.conf

<VirtualHost *:80>
    ServerName www.<mydomain>
    ServerAlias <mydomain>
    DocumentRoot /var/www/<mydomain>/html
    ErrorLog /var/www/<mydomain>/error.log
    CustomLog /var/www/<mydomain>/requests.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =<mydomain> [OR]
RewriteCond %{SERVER_NAME} =www.<mydomain>
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

There is a symbolic link for the virtual host in the sites-enabled
directory:
sudo ln -s /etc/httpd/sites-available/<mydomain>.conf
/etc/httpd/sites-enabled/<mydomain>.conf


Thanks for your help

-- 

Wolfgang Rauchholz

Re: [users@httpd] [autoindex:error] [pid 16794]

Posted by Richard <li...@listmail.innovate.net>.

> Date: Thursday, December 14, 2017 16:38:49 +0100
> From: Wolfgang Paul Rauchholz <wp...@gmail.com>
>
>
> On Thu, Dec 14, 2017 at 3:35 PM, Eric Covener <co...@gmail.com>
> wrote:
> 
>> On Thu, Dec 14, 2017 at 8:36 AM, Wolfgang Paul Rauchholz
>> <wp...@gmail.com> wrote:
>> >
>> > I get error message underneath. I googled and tried to make some
>> > changes but no luck.
>> > 
>> > [Thu Dec 14 13:49:10.312713 2017] [autoindex:error] [pid 16794]
>> > [client 10.5.2.185:63041] AH01276: Cannot serve directory
>> > /var/www/<mydomaim>/html/seeddms/: No matching DirectoryIndex
>> > (index.html,index.php,index.php) found, and server-generated
>> > directory index forbidden by Options directive
>> 
>> What do you expect to be served when /html/seeddms/ is accessed?
>> 

> At this point the installation procedure.
> I installed all in ../html/seeddms and whenentering in my web
> browser <mydomain>/seeddms I get this error message.
> 

Well, do you have at least one of the following files:

  - index.html 
  = index.php 
  - index.php

in that directory? That's what you've configured it to look for as a
directoryindex.




  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] [autoindex:error] [pid 16794]

Posted by Wolfgang Paul Rauchholz <wp...@gmail.com>.
At this point the installation procedure.
I installed all in ../html/seeddms and whenentering in my web browser
<mydomain>/seeddms I get this error message.

On Thu, Dec 14, 2017 at 3:35 PM, Eric Covener <co...@gmail.com> wrote:

> On Thu, Dec 14, 2017 at 8:36 AM, Wolfgang Paul Rauchholz
> <wp...@gmail.com> wrote:
> > I get error message underneath. I googled and tried to make some changes
> but
> > no luck.
> >
> > [Thu Dec 14 13:49:10.312713 2017] [autoindex:error] [pid 16794] [client
> > 10.5.2.185:63041] AH01276: Cannot serve directory
> > /var/www/<mydomaim>/html/seeddms/: No matching DirectoryIndex
> > (index.html,index.php,index.php) found, and server-generated directory
> index
> > forbidden by Options directive
>
> What do you expect to be served when /html/seeddms/ is accessed?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 

Wolfgang Rauchholz

Re: [users@httpd] [autoindex:error] [pid 16794]

Posted by Eric Covener <co...@gmail.com>.
On Thu, Dec 14, 2017 at 8:36 AM, Wolfgang Paul Rauchholz
<wp...@gmail.com> wrote:
> I get error message underneath. I googled and tried to make some changes but
> no luck.
>
> [Thu Dec 14 13:49:10.312713 2017] [autoindex:error] [pid 16794] [client
> 10.5.2.185:63041] AH01276: Cannot serve directory
> /var/www/<mydomaim>/html/seeddms/: No matching DirectoryIndex
> (index.html,index.php,index.php) found, and server-generated directory index
> forbidden by Options directive

What do you expect to be served when /html/seeddms/ is accessed?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org