Control Web Panel
WebPanel => Installation => Topic started by: aduydgd on November 11, 2021, 08:39:25 AM
-
After I set up a website, the running directory of the website program needs to point to the public directory of the program. The index.php file in this directory is used as the entry file. All HTTP requests will enter the application through this file. It is not found in the panel where it can be set directly. Everyone, what do I need to do?
Can the panel be added with the operation of graphically setting program access path in the next version?
-
What webserver(s) are you using.?
-
centos7 apache+nginx
-
centos7 apache+nginx
Is nginx -> apache, right?
Check with the command
# grep -i DirectoryIndex /usr/local/apache/conf/httpd.conf
...if you have the following result:
# DirectoryIndex: sets the file that Apache will serve if a directory
DirectoryIndex index.php index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi index.jsp index.js index.jp index.php4 index.php3 index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html
Changing the directive 'DirectoryIndex' in the apache server, changes your entry point in your server.
Change it to point justo to index.php
DirectoryIndex index.php
Regards,
Netino