No matching DirectoryIndex (index.html,index.php)

Tested and it works.

But I have a much simpler solution (I hope): create an index.html file :slight_smile:

If the user select the option “create a default index file”, we can execute something like this from vhost-create event:

echo "Welecome to www.test.org virtualhost" > /var/lib/nethserver/vhost/test/index.html 

And what it could occur if the user removes the index.html :slight_smile:

To developers
 think that your softwares are used and your users are idiots

:slight_smile:

1 Like

Ok, I’m fine with your solution: we can add this option to all virtual hosts as default.

Would you like to open a PR or we can add it to our junior job list? :slight_smile:

I will try something. I have my build server broken, I need time to fix it.

1 Like

In the meanwhile, also added to junior jobs to not loose the suggestion:
https://github.com/orgs/NethServer/projects/1#card-3412277

1 Like

just thinking loudly, it could be time to get a lot more settings in the virtualhost

I mean

php settings
apache settings
user access by password

I’m open to any new improvement :thumbsup: , but I didn’t see so much interest on it. Or am I missing some request?

I have started to work on the indexes option tonight. I will do a PR soon

When i spoke about more settings i think about nethserver-phpsettings, I think that I would remove the allowoveride option, and why not allow symlink if I need.

The user/group access will be interesting with mod dav

Let’s split this topic and open a new #feature request!

How would you title the new topic?

see https://github.com/NethServer/nethserver-virtualhosts/pull/14

1 Like

Sorry for the delay,
but finally we have it merged!

great

Released!

1 Like