![]() conf file to remove the added directives.Īll of the virtual hosts still return an internal server error, and I cannot seem to fix this. Hi, I have tried the solution that was suggested, and this did not change anything. This did not happen, and I am uncertain if this particular error is related or unrelated to the error with the Apache test page, described above.Īny help on these issues would be greatly appreciated. The subfolder contained an htaccess file itself, where the site should have resolved to, and the browser should have resolved the page it was pointing to. And one of the domains above is a wordpress site, with the standard wordpress htaccess file, while the other two are very simple static sites.Īnother thing that I noticed, before changing the nf file, was that when the redirect was working, if I pointed my browser to /subfolder, I would get a forbidden error. When I had changed this file, I changed the AllowOverride in the var/Is there a line of code that I need to add into this file to make these virtual hosts work again, or make the centos server recognize apache once more? It seems that at this point, the server no longer recognizes apache. As of right now, all three domains point to the Apache server test page. It would show only the apache test page, even though I created a master zone, and had the nameservers pointed at it from the domain:ĭocumentRoot /var/www/html/Folder-Domain-3Īny help would be greatly appreciated. ![]() ***this was the virtual host that I created that from the start would not work. ***this was the first virtual host that was created, and it was created twice, although this did not appear to cause any problems, as it was working:ĭocumentRoot "/var/www/html/Folder-Domain-1"ĭocumentRoot /var/www/html/Folder-Domain2 TypesConfig /etc/mime.types AddType application/x-compress. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" The relevant parts of the file are below: Can you please tell me what I might be missing in this file? Thank you. I do not understand why it was working properly before, and now I cannot get any of the three to work. Perhaps there is something that I am missing, that I now need to change. I tried stopping and restarting the apache server multiple times, with no luck.īelow are the relevant areas of the current nf file, with the domain names and folders replaced with example names. Upon restarting the apache server, all three of the virtual hosts would only load the Apache server test page, so I reverted the nf file back to the original, however, the problem continues to persist. I read on another forum that changing the AllowOverride on the nf file could fix a similar issue, so I saved the original file, and changed the AllowOverride in two sections. There were three virtual hosts that I set up, and as I said, one of them would not work, while the other two were working properly. It all appeared fine, except that one of the virtual hosts would not load anything but the apache test page, instead of the website that was in the directory that the virtual host pointed to. ![]() While I could have done this using nf, I used this method instead. Using webmin, I created several master zones and virtual hosts on the apache server area. I have installed Centos 8 on a VPS, and I installed LAMP, as well as webmin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |