Plainsman
Rear Admiral
- Joined
- Apr 2, 2006
- Messages
- 4,062
I'm running apache2 on a fc6 server. I have 3 websites that I want to publish. I have one in /var/www/html, I have 2 subdirectoris in html /var/www/html/site1and /var/www/html/site2
The site in html comes up fine, but for the others I just want http://mysite.com/site1 and http://mysite.com/site2
But to get them to work, I have to add a /index.php to the end of the url htp://mysite.com/site1/index.php
And it's not so much that I care that the index.php is there, but do I get it to work?
I know it must be something in apache, httpd.conf, but do I add a virtual host, or a directory.....
the dataroot is /var/www/html in httpd.conf
The site in html comes up fine, but for the others I just want http://mysite.com/site1 and http://mysite.com/site2
But to get them to work, I have to add a /index.php to the end of the url htp://mysite.com/site1/index.php
And it's not so much that I care that the index.php is there, but do I get it to work?
I know it must be something in apache, httpd.conf, but do I add a virtual host, or a directory.....
the dataroot is /var/www/html in httpd.conf