VPS Localhost showing wwwroot folder

Bliss

New Member
May 12, 2014
18
0
When I go on localhost / my vps ip it just shows all the folders which are in my wwwroot folder?
 

Bliss

New Member
May 12, 2014
18
0
Do you have an index for your root?

Example: have you uploaded a file called index at all?
There's an index in wwwroot which contains:

<?php
define('IN_INDEX', 1);

require_once 'global.php';

$core->handleCall($engine->secure($_GET['url']));

$template->html->get($engine->secure($_GET['url']));

$template->outputTPL();
?>
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
Could you printscreen what it's showing?

I'm not sure if this is your VPS or your files causing it. Normally, on any other server, if you have no index uploaded then it would just show your files that are uploaded to the server.
 

Sysode

Front-End Developer
Dec 11, 2012
1,673
848
Have you removed any default pages that were in the root before? Normally they place some sort of placeholder index file. If you notice 2 index files in the root (or default or something along those lines) delete it.
 

Bliss

New Member
May 12, 2014
18
0
Have you removed any default pages that were in the root before? Normally they place some sort of placeholder index file. If you notice 2 index files in the root (or default or something along those lines) delete it.
There is only one index. There's Global?
 

Users who are viewing this thread

Top