Experts Exchange connects you with the people and services you need so you can get back to work.
I have added 127.0.0.1 www.myhost.org to /etc/hosts
How can I configure it so that it points to index.php ?
Open in new window
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
LoadModule dir_module modules/mod_dir.so
[root@broken ~]# grep '^ServerRoot' /etc/httpd/conf/httpd.conf
[root@broken ~]# cd /etc/httpd
[root@broken httpd]# ls -l
drwxr-xr-x. 4 root root 4096 Sep 18 02:45 ./
drwxr-xr-x. 67 root root 4096 Sep 22 03:27 ../
drwxr-xr-x. 2 root root 4096 Sep 18 02:45 conf/
drwxr-xr-x. 2 root root 4096 Sep 20 02:13 conf.d/
lrwxrwxrwx. 1 root root 19 Sep 18 02:45 logs -> ../../var/log/httpd/
lrwxrwxrwx. 1 root root 29 Sep 18 02:45 modules -> ../../usr/lib64/httpd/modules/
lrwxrwxrwx. 1 root root 19 Sep 18 02:45 run -> ../../var/run/httpd/
[root@broken httpd]# ls -l modules/mod_dir.so
-rwxr-xr-x. 1 root root 10416 Jul 7 03:31 modules/mod_dir.so*
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.