How to set default webpage when I type http://IP_Address on Browers?
-
- solved
- akong7777
- Closed
- Thread is marked as Resolved.
-
-
Install the ServerDefaultPage plugin
-
-
Hello,
I have install ServerDefaultPage this plugins,But I can't see where to setup default page. -
In the plugin folder you can find some files.
Make sure to update the plugin files after you changed configs/default files (or change the files first, then install the plugin)
-
-
I have see follow file and folders.
CHANGELOG LICENSE README.md ServerDefaultPage.php backend config.php info.php templates
Blue fonts is folder.I haven't found any config folder.
And I edit config.php.Quote<?php
/**
* i-MSCP ServerDefaultPage plugin
* Copyright (C) 2014-2015 by Ninos Ego <me@ninosego.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/return array(
// Certificate path for the https connection
// Leave empty for default value (panel certificate)
'certificate' => ''
);
Only this. -
Check this folder out
ServerDefaultPage/templates/default
https://github.com/i-MSCP/plug…ultPage/templates/default -
-
Thanks a lot.
I have see index.html on default folder.And I copy new index.html it.But the default page haven't change to new index.html. -
Once you have done your changes in the ServerDefaultPage/templates/default directory, you must uninstall and reinstall the plugin through the plugin management interface, else, your new file will not be installed in production directory.
-
-
OK,It's can use it.Thanks a lot.