Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Authorization Required

Featured Replies

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,Allow

Deny from all

Allow 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,Allow

Deny from all

Allow 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,Allow

Deny from all

Allow from 127.0.0.1

 

#AuthName "Uniform Server - Secure Server Access"

#AuthType Basic

#AuthUserFile ../../../htpasswd/ssl/.htpasswd

#Require valid-user

 

 

All the best

Ric :)

  • Author

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,Allow

Deny from all

Allow 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,Allow

Deny from all

Allow 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,Allow

Deny from all

Allow from 127.0.0.1

 

#AuthName "Uniform Server - Secure Server Access"

#AuthType Basic

#AuthUserFile ../../../htpasswd/ssl/.htpasswd

#Require valid-user

All the best

Ric :)

 

 

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

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 best

Ric :)

  • Author

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 best

Ric :)

 

Actually you can't.

here is the list before I start mysqld-opt.exe

Uniform Server 5.7.3-Nano

Home

 

Server Security

 

phpinfo()

 

Perl Envirnonment

 

Apache Status

 

Apache Info

 

Version Check

 

Server Control

Restart Apache service

 

Configurations

Apache Configuration

 

PHP Configuration

 

Admin Virtual Host

 

Admin Panel Configuration

 

Private Server Configuration

 

Private Secure Server Config

 

MySQL Server Configuration

 

Tools

Error Log Viewer

 

Win - Unix Converter

 

Server Key & Cert Gen

 

Restore MySQL Password

 

Plugin Manager

Install Pear

 

eAccelerator cPanel

 

Miscellaneous

Online Support

 

Documentation

Server Documentation

 

On-line Documentation

Uniform Server User Guide

 

Uniform Server Wiki

 

PHP Documentation

 

MySQL Documentation

 

Perl Documentation

 

Languages

 

Now the list after I start Mysql :o

 

Uniform Server 5.7.3-Nano

Home

 

Server Security

 

phpinfo()

 

Perl Envirnonment

 

Apache Status

 

Apache Info

 

Version Check

 

Server Control

Restart Apache service

Configurations

Apache Configuration

 

PHP Configuration

 

Admin Virtual Host

 

Admin Panel Configuration

 

Private Server Configuration

 

Private Secure Server Config

 

MySQL Server Configuration

 

Tools

phpMyAdmin 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 Manager

Install Pear

 

eAccelerator cPanel

 

Miscellaneous

Online Support

 

Documentation

Server Documentation

 

On-line Documentation

Uniform Server User Guide

 

Uniform Server Wiki

 

PHP Documentation

 

MySQL Documentation

 

Perl Documentation

 

Languages

English

 

Thank you.

Christine

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.” :o

 

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 nav

In 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 nav

Finally 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 best

Ric :)

  • Author

Thank you! It worked! ;)

 

many thanks

Christine

 

Now I need to find out how to add FTP in PHP and a compatable opensource hosting panel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.