meows Posted February 12, 2011 Report Share Posted February 12, 2011 Not sure what happened but after I secured the web site with sslhttp://localhost/apanel/certificate_and_key_gen.php now all web sites want a user name and password/ How to I fix this? Many thanks christine Quote Link to comment Share on other sites More sharing options...
Ric Posted February 12, 2011 Report Share Posted February 12, 2011 Apart from enabling SSL it looks as if you have enabled the “personal” server features (server access including apanel require a name and password). The following Wiki page explains these features: http://wiki.uniformserver.com/index.php/5....curity_features To disable name password access edit the following files (.htaccess): Apanel:File: UniServer\home\admin\www\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Admin Panel 2.0"#AuthType Basic#AuthUserFile ../../../htpasswd/home/admin/www/.htpasswd#Require valid-user Server folder www:File: UniServer\www\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Server Access"#AuthType Basic#AuthUserFile ../../../htpasswd/www/.htpasswd#Require valid-user Server folder ssl:File: UniServer\ssl\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Secure Server Access"#AuthType Basic#AuthUserFile ../../../htpasswd/ssl/.htpasswd#Require valid-user All the bestRic Quote Link to comment Share on other sites More sharing options...
meows Posted February 12, 2011 Author Report Share Posted February 12, 2011 Apart from enabling SSL it looks as if you have enabled the “personal” server features (server access including apanel require a name and password). The following Wiki page explains these features: http://wiki.uniformserver.com/index.php/5....curity_features To disable name password access edit the following files (.htaccess): Apanel:File: UniServer\home\admin\www\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Admin Panel 2.0"#AuthType Basic#AuthUserFile ../../../htpasswd/home/admin/www/.htpasswd#Require valid-user Server folder www:File: UniServer\www\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Server Access"#AuthType Basic#AuthUserFile ../../../htpasswd/www/.htpasswd#Require valid-user Server folder ssl:File: UniServer\ssl\.htaccess Edit these sections to that shown below: Order Deny,AllowDeny from allAllow from 127.0.0.1 #AuthName "Uniform Server - Secure Server Access"#AuthType Basic#AuthUserFile ../../../htpasswd/ssl/.htpasswd#Require valid-userAll the bestRic Bless you Made the changes and restarted Apache.Now. please and pretty please. How do I add start Mysql to the Admin panel please?It only has restart Apache and the other goodies. and PHPAdmin after i go in and start Mysql by hand but I would really like to start things in the admin panel.. Many thanks *hugs*Christine Quote Link to comment Share on other sites More sharing options...
Ric Posted February 12, 2011 Report Share Posted February 12, 2011 I am not sure if I fully understand your request. From Apanel under Server Control you can start and stop the MySQL server. All the bestRic Quote Link to comment Share on other sites More sharing options...
meows Posted February 13, 2011 Author Report Share Posted February 13, 2011 I am not sure if I fully understand your request. From Apanel under Server Control you can start and stop the MySQL server. All the bestRic Actually you can't.here is the list before I start mysqld-opt.exeUniform Server 5.7.3-NanoHome Server Security phpinfo() Perl Envirnonment Apache Status Apache Info Version Check Server ControlRestart Apache service ConfigurationsApache Configuration PHP Configuration Admin Virtual Host Admin Panel Configuration Private Server Configuration Private Secure Server Config MySQL Server Configuration ToolsError Log Viewer Win - Unix Converter Server Key & Cert Gen Restore MySQL Password Plugin ManagerInstall Pear eAccelerator cPanel MiscellaneousOnline Support DocumentationServer Documentation On-line DocumentationUniform Server User Guide Uniform Server Wiki PHP Documentation MySQL Documentation Perl Documentation Languages Now the list after I start Mysql Uniform Server 5.7.3-NanoHome Server Security phpinfo() Perl Envirnonment Apache Status Apache Info Version Check Server ControlRestart Apache service ConfigurationsApache Configuration PHP Configuration Admin Virtual Host Admin Panel Configuration Private Server Configuration Private Secure Server Config MySQL Server Configuration ToolsphpMyAdmin Now PHPMyAdmin is here but nothing at all MySql Server start or stop Error Log Viewer Win - Unix Converter Server Key & Cert Gen Restore MySQL Password Plugin ManagerInstall Pear eAccelerator cPanel MiscellaneousOnline Support DocumentationServer Documentation On-line DocumentationUniform Server User Guide Uniform Server Wiki PHP Documentation MySQL Documentation Perl Documentation Languages English Thank you.Christine Quote Link to comment Share on other sites More sharing options...
Ric Posted February 13, 2011 Report Share Posted February 13, 2011 This is the intended functionality:“From Apanel under Server Control you can start and stop the MySQL server.”However as you rightly pointed out:“Actually you can't.” Yep! You have found a minor bug. To correct this, edit the following file: UniServer\home\admin\www\includes\server.inc Navigate to end of file and replace this<?php if(get_mysql_tracker()=='program'){ //=== MySQL ?> <a target="content" onclick="h(this);" href="server_control.php?sel=start_mysql"?><?php echo $US['nav-rmysql']?></a> <a target="content" onclick="h(this);" href="server_control.php?sel=stop_mysql"?><?php echo $US['nav-smysql']?></a> <?php } ?>With<?php if(get_mysql_tracker()=='program'){ //=== MySQL ?> <a target="content" onclick="h(this);" href="server_control.php?sel=stop_mysql"?><?php echo $US['nav-smysql']?></a> <?php } ?> <?php if(get_mysql_tracker()=='free'){ //=== MySQL ?> <a target="content" onclick="h(this);" href="server_control.php?sel=start_mysql"?><?php echo $US['nav-rmysql']?></a> <?php } ?> Note: After starting or stopping MySQL server Apanel’s navigation menu will no longer reflect correct MySQL state until your browser is manually refreshed. This can be corrected by editing the following file:UniServer\home\admin\www\server_control.php Add this line: update_navigation_menu(); // update navIn two places as shown blow: print "<p>".$US['start-mysql-txt3']."</p>"; // inform user update_navigation_menu(); // update nav print "<p>".$US['stop-mysql-txt2']."</p>"; // inform user server stopped update_navigation_menu(); // update navFinally add the following function just above the footer include as shown below: function update_navigation_menu(){ print '<script language="javascript">'; print "window.onload = setTimeout('parent.navigation.location.href=\"navigation.php\" ',2000);"; print '</script>'; } include_once "includes/footer.php"; Note: The two-second (2000) timeout is a compromise, however it should be adequate for the servers to have started or stopped before navigation menu checks current server status. All the bestRic Quote Link to comment Share on other sites More sharing options...
meows Posted February 14, 2011 Author Report Share Posted February 14, 2011 Thank you! It worked! many thanksChristine Now I need to find out how to add FTP in PHP and a compatable opensource hosting panel Quote Link to comment Share on other sites More sharing options...
Ric Posted February 14, 2011 Report Share Posted February 14, 2011 You may find the following page of interest: http://wiki.uniformserver.com/index.php/Fi...3:_Introduction All the bestRic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.