We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
update the file access sequence on webserver
update the file access sequence on webserver
Currently webserver looks for index.htm then index.php etc.
How do I change that and check first index.cfm page on the webserver?
How do I change that and check first index.cfm page on the webserver?
Re: update the file access sequence on webserver
please share your os version.
Re: update the file access sequence on webserver
core package Version:0.9.8 (amd64)
Ubuntu 14.04 x64
Ubuntu 14.04 x64
Re: update the file access sequence on webserver
Seems like DirectoryIndex is what you search: https://httpd.apache.org/docs/current/mod/mod_dir.html
Re: update the file access sequence on webserver
Yes, exactly this is what I need to update.
My question was which file I need to modify so it would effect all the websites and it should keep the same way if I create a new website.
TIA
My question was which file I need to modify so it would effect all the websites and it should keep the same way if I create a new website.
TIA
Re: update the file access sequence on webserver
to be more specific on my question.
if I modify /etc/apache2/mods-enable/dir.conf
The new entries would be kept for all newly created websites?
Thanks
if I modify /etc/apache2/mods-enable/dir.conf
The new entries would be kept for all newly created websites?
Thanks
Re: update the file access sequence on webserver
my current directoryIndex looks like
DirectoryIndex index.html
if I change this to
DirectoryIndex index.cfm index.html
What it should do is to look for index.cfm file and if can't find then look for index.html.
What its currently doing is looking for index.cfm and then generate the missing 404 error for index.cfm
DirectoryIndex index.html
if I change this to
DirectoryIndex index.cfm index.html
What it should do is to look for index.cfm file and if can't find then look for index.html.
What its currently doing is looking for index.cfm and then generate the missing 404 error for index.cfm
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: update the file access sequence on webserver
just edit your virtual host in
/home/<user>/conf/web/apache2.conf
/home/<user>/conf/web/apache2.conf
Re: update the file access sequence on webserver
But please take care: Everytime you change your web settings or rebuild your user, it will be overwriten from VestaCP. If you want to have a persistent solution, create your own template in /usr/local/vesta/data/templates/webmehargags wrote:just edit your virtual host in
/home/<user>/conf/web/apache2.conf