-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
US 5.1 - gz compression error in phpMyAdmin import
Ric replied to PatriciaRits's topic in phpMyAdmin
If it fails I will post the modified file. All the best Ric -
Uniform Server does not install anything other than the extracted files hence just delete these files. To start again just extract the files either from the .zip or run the .exe which is a self-extracting archive. This page provides details: http://wiki.uniformserver.com/index.php/5....Run#Quick_Start All the best Ric
-
Thanks will take a look All the best Ric
-
Please! This is an open beta that means anyone can have an input. This weekend I have corrected a few issues! I hope to publish beta 2 soon. However this next week (evenings) I am going to look at MySQL configuration. If anyone would like to have a go at translation take the English.exe file and save to any folder. Double click to extract and have a go. Currently the project is in limbo! Waiting for PHP and then eAccelerator. All the best Ric
-
US 5.1 - gz compression error in phpMyAdmin import
Ric replied to PatriciaRits's topic in phpMyAdmin
Hi Patricia, Well phpMyAdmin have just released version 3.2.3 I had hoped this would fix the double compression issue. Alas no and no reported bugs on their tracking system for this issue in years. I decided to take another look, after reading the Apache manual over and over discovered it was a configuration issue. Solution edit Apache’s configuration file: UniServer\usr\local\apache2\conf\httpd.conf Delete everything between these two lines: # DEFLATE Module Settings # DEFLATE Module Settings End Replace with new section: # DEFLATE Module Settings <IfModule mod_deflate.c> # Add file mime types to be compressed AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript #Set compression Highest 9 - Lowest 1 DeflateCompressionLevel 9 # If you must enable these lines, - obsolete browser #BrowserMatch ^Mozilla/4 gzip-only-text/html #BrowserMatch ^Mozilla/4\.0[678] no-gzip #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Setup custom deflate log - enable only for testing # Eats CPU time hence disable after testing DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate #CustomLog logs/deflate.log deflate # Make sure proxies don't deliver the wrong content <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> </IfModule> # DEFLATE Module Settings End All the best Ric -
Ace, glad you have it working. “ thought I was supposed to copy the new libmysql.dll over.” That’s a logical thing to do but PHP 5.2.* series come with its own version of libmysql.dll With the introduction of PHP 5.3.* series those bad only days are over and now you are expected to copy libmysql.dll from the MySQL distribution. All the best Ric
-
French Translation: Kris (kris_fr) has kindly offered to correct and complete the French translation pack for 5.4 Many thanks Kris Note: Kris has completed a customised version of Uniform Server 5.3 for Xoops see http://labs.xoofoo.org/modules/news/article.php?storyid=88 What is particularly impressive is the modifications to Apanel well worth a download. German Translation: Currently no takers! Russian Translation: Andrey (andrey) has kindly offered to update all of the Russian translation pack for 5.4 Reanson: “I took a look at the translation you provided. To be honest it's pretty hard to understand it so almost everything needs to be rewritten.” In addition he has provided a sample solution for translating UniTray. UniTray is not UTF-8 compliant hence making the task more difficult. With this solution in place it makes the Russian transltion viable. Many thanks Andrey Note: Final release of 5.4 each language pack will be offered as a separate download. All the best Ric
-
The EACCELERATOR is a red herring! I think you copied libmysql.dll from MySQL 5.1.40 to the PHP folder If you did this will crash Apache because PHP was not compiled against this version. Try coping the original libmysql.dll from US 5.2 to your modified server. PhpMyAdmin may report wrong MySQL server version I don’t think there will be an issue. Changes between 5.1.39 and 5.1.40 were bug fixes however run as many tests as possible. Anyway give that a try and see how it goes. All the best Ric
-
automatically start apache, mysql and cron on startup
Ric replied to aquadhere's topic in Uniform Server - Windows
“But is it possible to have apache, mysql and cron start up all at once?” Yes take a look at these pages: http://wiki.uniformserver.com/index.php/5...._Cron#Automatic http://wiki.uniformserver.com/index.php/5....ript_Parameters Note: Do not change start cron.bat its purely for manually running Cron when testing. Change the parameters in UniTray1.ini as explained above. Alternatively if you are using the batch files Change the parameter passed in both Start_Server.bat and Stop_Server.bat The current binary codes are: 1 Apache 2 Mysql 4 Index page 8 MySQL Console 16 Cron Hence to run MySQL, Apache and Cron gives 1+2+16 = 19 P.S. Another place to look for information: From Unitray click on Server Documentation and check out folder en All the best Ric -
I have attached a zip file (header_resource.zip) containing the two files you require. All the best Ric header_resource.zip
-
The short answer you cannot do it using Vhosts. I assume you have pointed your real domain my-domain-name.com to *. selfip.com The free account does not allow you to cloak the redirection hence the displayed dynDNS name. If you were to use cloaking it puts your sites into frames, this may or may not be an issue. Cloaking is a paid service. I think their premium service allows you to transfer your real domain to their servers where they can then offer dynamic DNS on your real domain. The service is not free that’s where they make their money. All the best Ric
-
I am not sure what you mean by this: “I was hoping to use the MySQL terminal but it does not come bundled with UniformServer.” Note: mysql.exe is the interface to the MySQL server and is bundled with Uniform Server. To enable the console edit file: UniServer\unicon\tray_menu\UniTray1.ini Locate this section: ;=== LEFT MENU ============ [Menu.Left] Type: item; Caption: "Start UniServer (Apache MySQL)"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\start_servers.php 7";ShowCmd: hidden; Glyph: 9 Type: item; Caption: "Stop UniServer (Apache MySQL)"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 7";ShowCmd: hidden; Glyph: 11 Replace 7 with 15 as shown below: ;=== LEFT MENU ============ [Menu.Left] Type: item; Caption: "Start UniServer (Apache MySQL)"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\start_servers.php 15";ShowCmd: hidden; Glyph: 9 Type: item; Caption: "Stop UniServer (Apache MySQL)"; Action: shellexecute; FileName: "%PHP%\php.exe"; Parameters: " -n %ServerConMain%\stop_servers.php 15";ShowCmd: hidden; Glyph: 11 Save file and run servers. This should bring up a command prompt where you can run MySQL commands. Related information: http://wiki.uniformserver.com/index.php/MySQL_Console http://wiki.uniformserver.com/index.php/5.0-Nano:_UniTray http://wiki.uniformserver.com/index.php/5....ript_Parameters Trouble is mysql.exe is a command-line driven utility hence the following will be an issue “On their machines, the XP command prompt is disabled by Group Policy.” Contact your admin staff to resolve this. In a similar vein parts of Uniform Server will not function because they rely on batch files to run the PHP CLI scripts. All the best Ric
-
Thanks for the feedback. Regarding subversion this page may be of interest: http://wiki.uniformserver.com/index.php/SV...all_on_5.0-Nano All the best Ric
-
doesn't on vista home premium sp1 (tur)
Ric replied to Captain Black's topic in Uniform Server - Windows
OK Try Running Server status as follows: 1] Restart your PC, confirm you can brows the Internet 2] Navigate to folder: UniServer\unicon\main 3] Run server_status.bat In the pop-up the top two lines will be similar to this Your Internet IP Address = xxx.xxx.85.85 Accessible from Internet = NO The last three lines: Apache port = 80 Is free to use Apache SSL port = 443 Is free to use MySQL port = 3306 Is free to use. What do you get after running this test? All the best Ric -
UniServer 5.4-Nano Beta 1 Changes: MySQL updated to 5.1.40; PHP updated to 5.3.1RC2; Disabled eAccelerator - Until official release of PHP phpMyAdmin updated to 3.2.2-1; The server is now fully UTF-8 compliant. For testing a language pack is included. Note to translators please correct any translation errors. Language pack includes: French, German and Russian Download: http://sourceforge.net/projects/miniserver/ Please post all UniServer 5.4-Nano Beta 1 results here, thank you. Reagrds, The Uniform Server Development Team
-
Xoops MiniServer accessing from other pcs
Ric replied to nedkelly's topic in Uniform Server - Windows
Hay! I assumed it worked. Thanks for the accolade, unfounded I just try to help. All the best Ric -
Xoops MiniServer accessing from other pcs
Ric replied to nedkelly's topic in Uniform Server - Windows
Have you read this page: http://wiki.uniformserver.com/index.php/5....Install_and_Run See section: Put Server on-line Edit the file .htaccess found in folder UniServer\www Change these line: Order Deny,Allow Deny from all Allow from 127.0.0.1 To: #Order Deny,Allow #Deny from all #Allow from 127.0.0.1 All the best Ric -
doesn't on vista home premium sp1 (tur)
Ric replied to Captain Black's topic in Uniform Server - Windows
Make sure you are logged into Vista as Admin. Goto folder: C:\UniServer\alternative_control Run: Start_Server.bat What errors are reported? All the best Ric -
Uniform server running slow, and need assistance.
Ric replied to Lindsay's topic in Uniform Server - Windows
Hi Lindsay, “Can someone please explain on what I did wrong with my question?” In all honesty nothing, I generally try to reply however must have missed this one. In your post there are a number of issues lets clear up the easy ones first: “Can the uniform server be used by approx 5 people at once?” Short answer is yes Apache servers power the Internet hence five consecutive connections are small. ”When it was installed, it was always running slow.” This could be a system network issue. ”Our office did some rearranging. So I moved the uniform server computer to a different location, and on a different computer.” “After people said it was worse on the new computer, I moved it back to the old computer. People said it was slightly better.” “I am having troubles finding the documentation to install this on my home computer.” The installation process is identical to moving from one machine to another and you have already done this. “Should I do a fresh install of windows xp professional, then copy the files across?” No because the root cause has not been determined in addition you have already moved the servers and confirmed different machines produce same result. “I don't know much about the uniform server.” ” I was wondering, how can I make the uniform server go faster?” “I am a real beginner at the moment, and really need help. But not sure where to start.” OK lets take it one step at a time: “I have noticed as well, when I go to http://(ip address)/apanel, I get an error message.” On the machine where US is installed and running enter either of the following: http://localhost/apanel http://127.0.0.1/ They both should display Apanel confirm they do. I would like to know what version is running if Apanel is displayed this is displayed top left also if any error messages are displayed. Can you also supply the full path to where US is installed. All the best Ric -
I think the bottom line is back to your ISP and DNS providers. 1] Your ISP should assign a single unique IP address. These are valuable resources hence using wild cards I see no reason to have two. Using the IP test above confirm this IP address works. 2] DNS, after confirming your IP address get your DNS provider or providers to point all records to this IP address. If you have access and can change the A records add a wild card entry at the bottom. Once the records have been changed it may take up to twenty fours hours for the changes to propagate and update the domain system databases. Shame that! Back to square one. All the best Ric
-
OK I think I am having a dim moment or just asking the wrong questions. This result: “I have tried to do the IP test and I get 404 errors. But when I look at the access logs it isn't logging any requests.” Is in conflict with this: “I know my server is working now because it is still serving pages for two separate domains just fine. And the server is redirecting using the vhost file for those two domains.” Can you perform one quick test? Goto http://translate.google.com/# Enter one of your working domains for example http://site1.exampleurl.com Does the page translate? All the best Ric
-
Ok your host file looks fine. You may well be right regarding the IP test is picking up another server. I never ask which version of Uniform Server you are using if its not 5.3-Nano. Download Uniform Server 5.3-Nano close your current server and run 5.3-Nano. From UniTray click on Server status, at the top of the pop-up you will see: Your Internet IP Address = 88.999.999.102 Accessible from Internet = YES Cron run status = Not running PHP INI: php.ini file = Production The IP address is that as seen from the Internet. This IP address is used in another test to confirm your server can be accessed from the Internet. If “Accessible from Internet = NO” This confirms that another server generates error 404. Note: If you are already using Uniform Server 5.3-Nano the accessibility test bypasses your virtual hosts, hence takes them out of the equation. If you do receive NO then it is a network issue. Only one server can be exposed to the Internet otherwise you will get a clash. All the best Ric
-
Yep! Been down that path anyway glad you have it working I was about to look at this issue. Thanks for the post saved me some time. All the best Ric
-
“I have the NameVirtualHost * so it should accept all IP addresses, right?” Yes that’s correct and the whole point of named based hosts. “My hosts swears everything is correct and says since we are getting 404 errors the request is making it all the way to the server.” I agree because a 404 error is an automatic response by your server that it cannot find the requested resource. I do not understand this: “They said they would have to change my IP to do this (not sure why) but they changed my IP address and they added new wildcards to the DNS records (site1. and site2. etc.) “ All that is required is to add the following to the end of a dns record: *.example.com. IN A 999.8888.777.6666 Where 999.8888.777.6666 is your fixed IP address and * is the wildcard which means a user can type something like this into a browser: fred.example.com www.fred.example.com some.other.name.example.com another.example.com Note: example.com is the domain name and resolves to IP address 999.8888.777.6666 Note: some.other.name is a sub-domain of example.com a sub-domain can be any name you choose. Once a domain name is resolved the entire name is sent to that IP address. Where Apache resolves the appropriate sub-domain in a Vhost section. Note: You can have different domains for example uniformserver.com with IP address 999.8888.777.6666 If wild cards have been enabled it can have sub-domains for example wiki.uniformserver.com forum.uniformserver.com Again they end up at the same server IP (999.8888.777.6666) where Apache resolves the appropriate sub-domain and domains in a separate Vhost section Using the above examples Apache contains the following Vhost sections example.com fred.example.com www.fred.example.com some.other.name.example.com another.example.com uniformserver.com wiki.uniformserver.com forum.uniformserver.com If Apache cannot resolve a name it will use the first Vhost listed and attempt to serve the resource from there. Getting 404 errors: If a user types http://www.fred.example.com Apache assumes an index page (index.html, index.htm, index.php …) is being requested. If an index.page does not exist a 404 error is returned. Likewise its true for any requested page that does not exist. “After they moved the IP, nothing worked.” Wrong you get 404 errors. First thing to try is to bypass your DNS server. Goto http://www.whatsmyip.org/ and pick up the IP address displayed for example 84.222.111.102 Type that into a browser as follows http://84.222.111.102 Your browser will display the index page from the default Vhost If it fails check the Vhost section. It should look similar to this: ServerName example.com DocumentRoot C:/test/UniServer/www/z_example If that works try the real domain name for the first Vhost e.g. http://example.com If that fails it could be a DNS server issue “Like I said, before the move the server was functional and working great for years. I had my hosts change everything back and wala it works again.” Try the above basic IP test. ”Is there something else I need to change in the configuration to allow requests from a different IP? “ Both the DNS server and your assigned IP (from your ISP) must match. Well the above are a few pointers. All the best Ric
-
help needed by adjusting server_start so it also will stop
Ric replied to web-M's topic in Uniform Server - Windows
I assume this is the server you are referring to: http://wiki.uniformserver.com/index.php/Mi..._-_Xoops_2.3.2b I think I understand the requirement! If my understanding is correct this is a possible solution: Edit file: server_start.bat At the bottom of this page locate section: :END echo. pause rem ## Return to caller popd Change it to the following: :END echo. pause popd call server_stop.bat rem ## Return to caller popd All the best Ric