Forum Moderators: phranque
[edited by: phranque at 3:21 am (utc) on Dec 6, 2016]
[edit reason] unlinked url [/edit]
For instance, c:/wamp/www/myproject/css (style.css), when I type in http://localhost/myproject, the content is displayed, but not the CSS file I'm including in index.php by way of <link rel="stylesheet" type="text/css" href="css/style.css">.
I just can't make my index file render the CSS
I'm attempting to setup Apache Virtual Hosts ... //localhost/myproject
you shouldn't be setting it up so your project (ie. website) is in a subdirectory off the localhost
[edited by: phranque at 2:54 am (utc) on Dec 11, 2016]
[edit reason] see forum Charter [/edit]
I assume the Server Configuration page is there for a reason. But what if I need my homepage to be index.php instead of index.html? I'd no longer have access to the Server Configuration controls. That's the first issue...can I just rename the index.php file so I can still access the controls if my home page is index.php?
put it in a directory that requires some type of authentication.
But what if I need my homepage to be index.php instead of index.html?
my goal is to create content for mywebsite.com (http://localhost) and also the content for the sub-directory - myotherwebsite.com. This is the second issue...wouldn't it be necessary to create a virtual host for the sub-directory?