Jump to content
The Uniform Server Community

Ric

Developer
  • Posts

    1,516
  • Joined

  • Last visited

Everything posted by Ric

  1. If its SlimFTPd you cannot throttle it back. If you are talking about FTP try FileZilla Server it allows throttling however it’s not portable. All the best Ric
  2. Thanks for the reply, so I picked-up the correct files. I confess to not having a clue how to run this server however I managed to get the example database running. I copied the two files in folder: *\Uniform Server\udrive\usr\local\firebird\examples\empbuild Files: employe2.sql and EMPLOYEE.FDB To folder: *\Uniform Server\udrive\var\firebird I was able to login to the EMPLOYEE.FDB database using ibWebAdmin using the following password masterkey I like alternatives, if only I had time certainly would give this a spin. All the best Ric
  3. If the file is anywhere on a system path it will cause this problem. I do not use Vista, however to see what the path looks like: 1) Start - Settings - Control Panel – System 2) Select the Advanced tab 3) Click the Environment Variables button 4) Under System Variables, select Path, then click Edit 5) You'll see a list of folders (don’t change anything) if libmysql.dll is in one of those folders that’s the problem. That’s my best shot; if anyone else has any thoughts on this please post. All the best Ric
  4. What an excellent write-up. I followed all your steps to the letter used cut and paste for the long lines. I think I am using the correct version! Had a real problem at the end. Anyway thought I would add my comments: 1) Download from: http://sourceforge.net/project/showfiles.php?group_id=9028 Under folder: firebird-win32 Firebird-2.1.0.17755-0_Win32.zip Save Firebird-2.1.0.17755-0_Win32.zip to any folder. 6) Both need to be downloaded: php_interbase.dll and php_pdo_firebird.dll 13) Download ibwebadmin from: http://sourceforge.net/projects/ibwebadmin/ file: ibWebAdmin_1.0.2.zip Save to any folder then extract to folder *\Uniform Server\udrive\home\admin\www\ibWebAdminwww. On starting the servers I received the following error message: “Application failed to start gds32.dll not found” Solution: Copy file fbclient.dll located in *\Uniform Server\udrive\usr\local\firebird\bin To folder: *\Uniform Server\udrive\usr\local\php Rename the copied file to: gds32.dll Run ibWebAdmin from apanel or type http://localhost/apanel/ibWebAdmin/database.php This will display the database administration page (green theme). Like I said an excellent write-up just wondering if I was using the correct version because of that error message. All the best Ric
  5. I have seen this post searched for several times hence this page is worth a visit: http://center.uniformserver.com/u35_mod_ss...mailserver.html All the best Ric
  6. Ric

    CAcert

    I thought a quick write-up would be sufficient to address the above. Trouble with that idea was a lack of real foundations. My solution was to attacth a new project covering first the foundations and then leading onto a signed certificate. Project consists of the following: 1) PC lock down – secure your PC XP-Home http://center.uniformserver.com/u35_mod_ss..._lock_down.html 2) No-IP – If you do not have a domain name try this alternative http://center.uniformserver.com/u35_mod_ssl_2/3_no_ip.html 3) hMailServer – How to install and run on Uniform Server. (Please note this is not a portable server, it was never designed to be other than a real mail server running as a service.) The real problem I have with it, just cannot bring myself to click the uninstall button. It sits there working flawlessly, as a test server adding additional domains and user accounts is a snip. http://center.uniformserver.com/u35_mod_ss...mailserver.html 4) PHP mail function – digression how to set up an smtp server for use with PHP http://center.uniformserver.com/u35_mod_ss...l_function.html 5) CAcert – How to obtain a signed server certificate. http://center.uniformserver.com/u35_mod_ss...cert_intro.html Easter in the UK looks as if it’s going to be cold and windy. If you have time on your hands enjoy. All the best Ric
  7. Remove truth and lies to reveal true intenions! So no problem! Ric
  8. I have never come across any code in US 3.5 that requires register globals to be On hence switching it Off is not a problem, US 3.5 works fine. The message you receive is only a warning; it looks like that code (line 18) is no longer used try commenting out the line. You state “stops uniform server working properly” is it just the warning you are concerned with or does it really stop US working correctly? (Known bug) The only bug I have ever found in 3.5 is in config.inc.php on line 26 while you are in this page change the line from: $drive="$pathArray[0]/$pathArray[1]"; to $drive="$pathArray[0]"; This code is executed only when using a virtual drive letter other than the default “W” hence majority of users will never see a problem. All the best Ric
  9. Thanks for replying it helps the community to know if a problem was resolved more importantly what the solution was. Again thanks for your time All the best Ric.
  10. Interesting! I have checked the httpd.txt file you posted and it’s identical to 3.5 If your htaccess file looks like this: # This file provides security to the server limiting access to the localhost only. # Comment to deactivate. #Order Deny,Allow #Deny from all #Allow from 127.0.0.1 # To disallow execution of cgi scripts in this directory comment next two lines. AddHandler cgi-script .bat .exe .pl .cgi Options +ExecCGI #-- # Activate this to use the Admin Panel Feature! #-- # To lock Admin Panel, uncomment the next 4 lines. # Defaults: Username - root; Password - root #AuthName "Uniform Server - Admin Panel 2.0" #AuthType Basic #AuthUserFile /htpasswd/home/admin/www/.htpasswd #Require valid-user You should be able to see your server. Try the test “Checking Server External Access ”on this page: http://center.uniformserver.com/debugging/debug_1.html Note: If you are running the server behind a router make sure you forward port 80 All the best Ric
  11. Try commenting out these lines in htaccess Order Deny,Allow Allow from all Order states execute the commands in the specified order. It’s looking for deny before allow. Cannot find a deny statement hence never executes Allow from all. All the best Ric
  12. Try this go to: http://www.whatismyip.org/ Pick up your IP address xxxx.xxxx.xxxx.xxxx Now go to: http://www.google.com/translate_t?langpair=fr|en At the bottom of the page type in a test page as suggested by Kalpz: http://xxxx.xxxx.xxxx.xxxx/test.html The above guarantees external access is your page translated. Or do you get this: The requested URL / test.html was not found on this server. The problem I have is no router will grab port 80 it just listens. The livebox may be an exception trying to make things easy for a user! Not knowing what this box is try the following link: http://portforward.com/english/routers/por...ebox/Apache.htm I apologise for the intrusion All the best Ric
  13. Ric

    CAcert

    In my write-up on this page: http://center.uniformserver.com/u35_mod_ss...sl_1_intro.html I skipped signed certificates because of the real cost to home users, seems I have no real reason to use that excuse anymore I am looking at CAcert and their free server certificates. Any views or opinions on server certificates? All the best Ric
  14. Essentially you have it working! I mean the DynDNS to your PC. When you see the “livebox information page” that’s as far as an external user is allowed to go. To allow a user to go further inside your “livebox” and onto to your web server you need to open port 80 this is called Port forwarding. I am assuming this is an “Orange Livebox” not sure of the details however will be somthing like this: 1. Go to “configuration.adsl” or type http://192.168.1.1 in your web browser 2. On the left hand side, there is a menu of options. Go to Configuration > Advanced> Router 3. You’ll get the “Port forwarding” screen 4. To add a new service, click “add” 5. Choose from the pre-configured services from the dropdown list, or select the “Manual Service” radio button and type a meaningful name for the new service (without spaces or special characters), for example “webserver2”. 6. You will need to choose “TCP” from the protocol dropdown 7. Type in the port used to access the server default 80 8. Finally type the Internal IP Address of the pc which the server is running on.. I have never used an “Orange Livebox” anyway at least you know what to search for on the Internet. Note 8: To find your PC IP address open a command prompt Start > run > type cmd press ok Then type ipconfig /all look for IP Address 192.168.*.* and use that All the best Ric
  15. SlimFTPd (V3.181) I like SlimFTPd accordingly have updated UniCenter to reflect this. The following page: http://center.uniformserver.com/slimftp318..._6_plugins.html Includes a plugin for Uniform Server 3.5-Apollo and 3.3 (either full plugin or how to upgrade) New section for 3.5-Apollo contains a tutorial using SlimFTPd (V3.181) The original 3.3 write-up updated (OK corrected a few errors) All the best Ric
  16. I tried the example from chapter2code.zip in both IE and Opera with no problems. Try the following: 1) Delete everything in folder www with the exception of .htaccess 2) Copy all the uncompressed files for chapter two into www 3) Type the following into your browser address bar: http://localhost/ You will see a directory listing, click on link sample2_1.html and it will pop up a message “You are not using so and so browser” Like Olajide mentioned “Ajax is a global code... It does not require anything form the server” If you still have a problem are there any reported errors or what is displayed? All the best Ric
  17. I have read this post several times. Take a step back! 1) Uniform server is working (port 80); you see the splash page and apanel. (No need to change any ports, with apanel displayed the server is working.) 2) You indicate your router is accessible from outside (Asked a friend in Atlanta to log in.) The problem seems as if it’s the bits in-between 1 and 2 causing the problem. Note: 0.0.0.0:80 is not a problem local loop back. Uniform Server stops any external access using .htaccess in folder www Putting your server on-line make sure these lines have been commented out as shown: #Order Deny,Allow #Deny from all #Allow from 127.0.0.1 With the above you do not have a problem with the server. What concerns me is this IP 192.168.254.200 it strikes me as being a printer IP. I would be interested in a post when you do an ipconfig /all It looks like a network set-up problem. I am no expert in this area, but I think you are chasing the wrong dragons tail! All the best Ric Help any network experts.
  18. Excellent glad its working and thanks for the feedback: 1) My fault it should have been "old_passwords=1" 2) Not sure about this one, the manual states: It looks as if setting it to “False” should not be an issue however bear it in mind if you do have problems. All the best Ric
  19. You need to change all relative paths to absolute ones. What that means, you must use a fixed drive letter. You could trawl through all files and change paths accordingly alternatively install it as a service. Olajide wrote an impressive script that does this automatically and it comes with every server. You will find the script in the plugins folder. When you run the script you will be surprised at the number of paths changed as they flash by on the screen. Basically don’t try to do it manually. The script does an excellent job I found a few paths that were not changed as listed on this page: http://center.uniformserver.com/us_35_oily...o_problems.html Remember to shut the service down if you want to run a portable version, caught me out several times. All the best Ric
  20. Use Server_Start_b.bat All the best Ric
  21. You may find this page of interest! http://center.uniformserver.com/multi_serv....html#start_bat I am not sure if its related but the above are my thoughts on the problem. Would be interesting to see if that helps in anyway! All the best Ric
  22. How to downgrade PHP 5 to PHP 4.4.8 for 3.5-Apollo A) Download full version of PHP 4.4.8 1) Create a new folder named c:\php448 2) Download and save the following file into the above folder: a) Goto: http://www.php.net/downloads.php b ) Scroll down the page to: Windows Binaries c) Download this file: PHP 4.4.8 zip package [8,434Kb] - 12 Feb 2008 md5: 09ffff4b1a54bbadb8fee6acd85a2c1f 3) Right click on file and select Extract All, click NEXT(no need to change path), click NEXT again. B ) Install a clean version of Uniform Server 3.5-Apollo on C drive 1) Start and stop the servers. Make sure they work and train any security software. 2) Backup php.ini - Install PHP a) Copy php.ini from C:\Uniform Server\udrive\usr\local\php to C:\Uniform Server b ) Delete the contents of folder C:\Uniform Server\udrive\usr\local\php c) Copy the contents of folder C:\php448\php-4.4.8-Win32\php-4.4.8-Win32 To folder: C:\Uniform Server\udrive\usr\local\php d) Copy php4apache2.dll from: C:\Uniform Server\udrive\usr\local\php\sapi To folder: C:\Uniform Server\udrive\usr\local\php e) Copy iconv.dll from: C:\Uniform Server\udrive\usr\local\php\dlls To folder: C:\Uniform Server\udrive\usr\local\php f) Copy libmysql.dll from: C:\Uniform Server\udrive\usr\local\php\dlls To folder: C:\Uniform Server\udrive\usr\local\php g) Restore php.ini: Copy php.ini from C:\Uniform Server to C:\Uniform Server\udrive\usr\local\php C) Edit php.ini 1) Locate the line: ;extension=php_iconv.dll and change to extension=php_iconv.dll 2) Locate the line: extension=php_mysql.dll and change to ;extension=php_mysql.dll 3) Locate the line: extension=php_mysqli.dll and change to ;extension=php_mysqli.dll 4) Locate the line: extension=php_pdo.dll and change to ;extension=php_pdo.dll 5) Locate the line: extension=php_sqlite.dll and change to ;extension=php_sqlite.dll D) Edit Apache httpd.conf located in folder: C:\Uniform Server\udrive\usr\local\apache2\conf 1) Locate the line: LoadModule php5_module "/usr/local/php/php5apache2.dll" Change to: LoadModule php4_module "/usr/local/php/php4apache2.dll" E) Edit the phpMyAdmin file: config.inc.php located in folder: C:\Uniform Server\udrive\home\admin\www\phpMyAdmin 1) Locate the line : $cfg['Servers'][$i]['extension'] = 'mysqli'; Change to : $cfg['Servers'][$i]['extension'] = 'mysql'; F) Edit my-small Located in folder: C:\Uniform Server\udrive\usr\local\mysql\bin 1) Under this line port=3306 add the following two new lines: #Use old password encryption method (needed for 4.0 and older clients). old_passwords Restart the servers; from apanel check that PHP 4.4.8 info is displayed. Click on phpMyAdmin expected error displayed is: #1251 - mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client” PHP4 uses short password hashes as opposed to PHP5’s long one’s. Anyway it shows PHP4 is working and phpMyAdmin. To correct the above do not turn the servers off and follow these instructions: G) Open a command prompt (start > run > type cmd and press OK) H) Type the following and press return at the end of every line: W: Cd usr\local\mysql\bin mysql -u root –p I) When requested enter the password root J) You are now at the MySQL command prompt. Type the following and press return: SET PASSWORD FOR 'root'@'localhost' =OLD_PASSWORD('root'); Query OK indicates you have created a short password hash. Close the command prompt window (top right cross). Restart the servers; check you can access MySQL using phpMyAdmin. K) From apanel run phpMyBackupPro, a) Login as root root, b ) Select the configuration tab, c) Change the MySQL password to root d) Finally click Save Data Phew! That’s it All the best Ric
  23. Check out these pages: http://center.uniformserver.com/uniserver/..._uniserver.html http://center.uniformserver.com/uniserver/...er_problem.html All the best Ric
  24. I would like to say excellent, that’s what Uniform Server is all about. “It is a package with Uniform Server 3.5 "Apollo", portable FireFox 2.0.0.12 and ImpressCMS 1.0 "Janus". Everything left just as-is just put togetter in a nice startscreen.” I checked out the sites and they support open community with no financial gain intended (LICENSE intact I see no problem). The only problem I have is with “waiter” how does that really translate into English? All the best Ric
  25. Ric

    Stretched Limo

    Uniform Server for whatever reason reminded me of a stretched limo thought I would chop it up into three minis! I have just published three mini servers either is portable or may be run as a service. In reality there are six versions as follows (portable and service): Apache 2.2.8 - (compressed 569KB uncompressed 1.77MB) Apache 2.2.2 PHP 5.2.5 (compressed 2.52MB uncompressed 8.12MB) Apache 2.2.2 Perl 5.10 (compressed 1.08MB uncompressed 3.57MB) For each server I have included working demo code and or single page web site and a PHP guest book on the PHP server, I personally find it far easier to hack working code. If you are interested in the above check out UniCenter and no I am not into car sales! Olajide many thanks for the disk space and bandwidth; I have great admiration for the code that makes these mini servers portable (ripped from Uniform Server 3.5-Apollo). I would be interest in any feedback from new users to find out if these mini servers are useful in anyway. All the best Ric
×
×
  • Create New...