-
Posts
1,516 -
Joined
-
Last visited
Everything posted by Ric
-
I find your post interesting because your servers are clearly working. Let me explain, When you ran the program it automatically redirected to apanel displaying it in your browser. The Apache server has served this page to your browser hence your server is working. Note: You can display apanel at any time by typing either http://localhost/apanel or http://localhost/a into your browser. (Again shows server is working) When you typed http://localhost into your browser you received a 404-page error this page is served by Apache when it cannot find the requested page. If you do not specify a page Apache assumes you wish to download an index page. It searches the folder www for an index page in the following order: index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi It will display the first one it finds. Uniform Server’s default installation uses index.php that displays the Uniform Server logo in the centre of your browser. That’s what should be displayed when you type: http://localhost or http://localhost/index.php into your browser. If the folder www does not contain an index page Apache will generate a listing of the folder contents and display that. It should not generate a 404-page error. You should get a 404-page error if you typed something like http://localhost/zzzzzzzz.html because clearly that page does not exist. Bottom line I cannot see why you get a 404 error for http://localhost
-
When you extract Uniform server it is secured (locked down for local access only) and can be used for web development even when connected to the Internet. The real advantage of Uniform Server is preset security features that enable it for production use (safe server). Before putting it online you only need to set the MySQL password. Uniform server’s design team have put in a great deal of effort to provide this security please read the following page to see what is covered: http://www.uniformserver.com/ To change the MySQL password and put your servers on-line check out this page: http://center.uniformserver.com/home_webse...e/security.html Note: You may wish to add the following line to the above .htaccess file this prevents directory listings: IndexIgnore * To test your servers are really on-line and accessible go to the Google translate page : http://www.google.com/translate_t and enter your domain name. Alternatively if you do not yet have domain name pick-up your IP address from: http://www.whatsmyip.org/ and type that into the Google translate page. Note: Unless you specify a specific page Google translate will use your index page that is contained in folder www for the translation. If you are using a router the chances are Google will not find your page because you have not forwarded port 80. You must forward port 80, all routers are different hence check this site out http://portforward.com/routers.htm scroll down the page and locate your router and follow instructions provided. Now try the Google translate page test again. Note: Make sure you can first surf the Internet using your cisco 837 router. If so it’s just a matter of forwarding port 80. You mention cpanel and plesk these are not required unless you are hosting a large number of user accounts. If that is the case you will need to do a lot more research and consider the implications. The built in apanel (http://localhost/apanel/) is more than adequate for most home user needs. Note: You can test the servers and use them on-line without using your router however make sure you are running a software firewall such as ZoneAlarm. All the best Ric
-
I am not sure if you have reached the maximum size limit set in either the client or MySql server. The default max_allowed_packet size set in Uniform Server is 1M. To change this value open file my-small located in folder: *\Uniform Server\udrive\usr\local\mysql\bin Locate the line: set-variable = max_allowed_packet=1M Change it to something like: set-variable = max_allowed_packet=16M If 16M not large enough increase it. (Not sure what is the max value allowed) All the best Ric
-
The file you are looking for “my.ini” is named my-small located in folder: *\Uniform Server\udrive\usr\local\mysql\bin Try the line in that file. All the best Ric
-
The following maybe of interest: From apanel select eAccelerator (left menu) Now navigate to Actions (main screen) you will see five buttons. Starting from the top click each button in turn. (Disables Caching and Optimizer) Run your page with the problem code. Well! I ran your test code above and found it works fine, I have no idea what the cause is but suspect that eAccelerator caching could be the culprit! All the best Ric
-
I cannot see a problem with your VirtualHost sections. They both look correct and should resolve to folder example. I have talked myself out of a number of things I was going to suggest. Both urls map to your server; site 1 is resolved while site 2 is not resulting in the default Vhost being used instead. It just looks inconsistent I was wandering if site 2 is correctly resolved and wordpress mangles the response. A quick test would be to create an index.html test file and place it in folder example. If that file is accessible from both urls, it proves there is nothing wrong with the vhosts. It would indicate you set-up wordpress from site 1 and when accessed from site 2 it expects a site1 access. I hope that makes sense, just trying to isolate where the problem is. All the best Ric
-
RewriteRule makes an 500 Internal Server Error
Ric replied to Stefano's topic in Uniform Server - Windows
I think the only problem is with *+ in the original code use + only try this: Options +FollowSymLinks RewriteEngine On RewriteRule ^([-0-9a-z]+)/([-0-9a-z]+)$ /index.php?ids=$1§ion=$2 RewriteRule ^([-0-9a-z]+)/([-0-9a-z]+)/([-0-9a-z]+)$ /index.php?ids=$1§ion=$2&page=$3 RewriteRule ^([-0-9a-z]+)/([-0-9a-z]+)/([-0-9a-z]+)/([-0-9a-z]+)$ /index.php?ids=$1§ion=$2&page=$3&do=$4 RewriteRule ^contact$ /index.php?ids=contact All the best Ric -
download instead of opening filetypes
Ric replied to kristian_gjengedal's topic in Uniform Server - Windows
The following may be of interest I could only simulate your results in Firefox using text files and then only by changing the file extension to either .wpl or .msi, IE6 always does things differently I wont even mention the results. However using files of the correct format Apache is set-up to server these files along with the correct mime type. A browser determines what should be done with them! The default installation of Firefox recognises a wpl extension and offers a user to either play the list using Windows Media Player or to save to disk. IE6 on the other hand opens the list in Windows Media Player and plays it. Firefox recognises an msi extension and offers a user to save it to disk, while IE6 will run it. (Trust Firefox on this one!) A user can change a browsers default response to these files, (force saving or allow to run) My point; you cannot tinker with Apache Mine types to force a file save. I think the only way to provide a user with the option of saving these files is to either Zip the file or create a self-extracting archive using something like 7zip. The above is my understating, open to any other ideas and thoughts on this. Allthe best Ric -
RewriteRule makes an 500 Internal Server Error
Ric replied to Stefano's topic in Uniform Server - Windows
Not sure what you are trying to do with the code however a 500 error indicates a server configuration problem. Check the server error log (*\Uniform Server\udrive\usr\local\apache2\logs\error.log) to see what the problem is. I have little experience with RewriteRule is the first minus valid [-0-9a-z] thought it specified a range hence something should come before it! Are you sure this is a valid construct *+ to me it looks as if they may conflict. You state on your real server it works, would this be Apache 1.3! I think check the error log first, should point you in the right direction. All the best Ric -
Hi Olajide This seems to be a moving target; I think this work around still works worth a try: http://center.uniformserver.com/us_35/us35...stall_pear.html It looks as if their Channel Management system is now working! All the best Ric
-
To prevent the browser starting after the launching the servers: Open Server_Start.bat and locate the line: start %apanel%\redirect.html and change it to this: :: start %apanel%\redirect.html The :: comments out the line preventing it running. Note: If you need to run apanel type http://localhost/apanel/ into your browser. As for skype! http://center.uniformserver.com/us_35/us35...ms_3.html#skype All the best Ric
-
Automatic Server Startup and Shutdown with Windows?
Ric replied to Warr's topic in Uniform Server - Windows
This is the page you are looking for: http://center.uniformserver.com/us_35_oily...o_problems.html All the best Ric -
I don’t think it’s a UniServer problem! The command will write a file relative to the folder where the script is run. For example if you put this into www name it test1.php: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Test</title> </head> <body> <h1>Test</h1> <p>Echo will display number of characters in the string "33"</p> <?php echo file_put_contents("test.txt","Pick this file up in www. Testing"); ?> </body> </html> It will create file test.txt in www The only conflict is if you have a file name that is identical to one on the include path. It could be the script that is setting that path! All the best Ric
-
I have just published the final part. Probably not the best way to do things! Write and learn at the same time, however I was impressed with AutoIt, if you know a little bit of scripting language of any sort, you can script a windows app very easily with this. The controller I produced is for testing only; it allows you to explore possibilities. I think what it shows is just how flexible Uniform Server really is, again I say a credit to the design team because it allows in-depth hacking. You can mould and tailor it do basically what you like. All the best Ric
-
Ace and thanks for the feedback. All the best Ric
-
I could not resist having a look at the above site, used Google translate and viewed several pages. I was pleasantly surprised to find they had tested several WAMP pages before choosing Uniform Server. “In fact we wanted a server as close as a server in production. The development of **** be in "stand-by", we have chosen (after testing of virtually all packages of the canvas) Uniform Server” [Google translated] Kris, you forgot to mention one very important thing, it’s free to download and distribute. I also had a quick peek at your support forum, Google translate does not do it justice, found it very friendly and helpful. Anyone wanting a complete ready to go package for Xoops (currently French) this site is worth a visit. When the English version is available I would like to try it out feel free to post when you launch it. All the best Ric
-
Password "abc123" # Mount / C:/ftproot Mount / w:/ Allow / All It looks as if it’s basically working! Have you tried setting Filezilla to passive mode? 1) Click Edit, Settings in top menu bar, open dropdown menu select settings. 2) Select Firewall Settings, just underneath Connections (menu on left) 3) In new page, check the box named Passive Mode 4) Click OK: I think it’s a firewall issue (not sure) All the best Ric
-
1).How do I enable InnoDB engine? Shutdown the servers. Got to folder: *\Uniform Server\udrive\usr\local\mysql\bin Open the file my-small in a text editor, change the section for innodb to look like this: # Uncomment the following if you are NOT using innodb tables #skip-innodb # Uncomment the following if you are using Innobase tables innodb_data_file_path = ibdata1:100M innodb_data_home_dir = /usr/local/mysql/data/ innodb_log_group_home_dir = /usr/local/mysql/data/ innodb_log_arch_dir = /usr/local/mysql/data/ set-variable = innodb_mirrored_log_groups=1 set-variable = innodb_log_files_in_group=3 set-variable = innodb_log_file_size=5M set-variable = innodb_log_buffer_size=8M innodb_flush_log_at_trx_commit=1 innodb_log_archive=0 set-variable = innodb_buffer_pool_size=16M set-variable = innodb_additional_mem_pool_size=2M set-variable = innodb_file_io_threads=4 set-variable = innodb_lock_wait_timeout=50 Re-start the servers, run phpMyAdmin, click on databases, click on the Engines tab and you should see InnoDB listed click on it, look for Buffer pool size 16,384 KiB, this confirms it is enabled (Uniform Server value) Note: If you still see "InnoDB has been disabled for this MySQL server." ignore it. While still in phpMyAdmin click databases, in the Create new database text box type gallery2 and click create. (Assumes you have not already done this), Now have another go at installing gallery2. 2). Is there a way to use gallery2 with MyISAM? If that fails you can always use MyISAM database engine. At step 5 of the gallery2 install wizard, from the select database drop down menu select MySQL version before v.3.23.34a . All the best Ric
-
As a user there is nothing you can do. I assume Olajide is working on it! It takes time especially when recovering a previous database that has been maliciously changed. All the best Ric
-
Interesting but why! Statistics are interesting, just depends on what they are being used for. There is a statistical correlation between sale of fridges and birth rate for Eskimos. Means I have a potentially new generation of fridge buyers hence no need to move the company. The population is exploding and the mountain of old fridges is increasing. Due to the green house effects these fridges must be reduced. A new company introduces contraceptives. They both produce stats that prove their sales pitch is working. If they are both right it implodes, contraception reduces population, sales of fridges go down, fridge company moves, fridges now difficult to buy, population now returns back on to the normal distribution. What is the normal distribution curve? Sorry for the deviation I am interested in numbers; these may be of use for your stats! Posts of 1-3 I assume are new users and I will go out of my way to resolve a problem if its within my capabilities. Posts of 4-10 I assume are new users still trying to find their way around, again I will go out of my way to resolve a problem if its within my capabilities. Posts of 11- xx I assume are really stuck, I will go out of my way to resolve their problem not because they are stuck, its just I hate the site of blood dripping down walls. If I cannot tackle a problem, that’s easy, just leave it to Olajide a very knowledgeable and friendly chap, it’s his project and his enthusiasm and devotion is reflected on the forum. What stats would you place on that? I hate stats unless used for a true analytical purpose. Then again I hate doc attachments. The one thing I know this forum is open to new users, if they wish to use their dvd tray as a cup holder, we have no problem with that, may gently suggest that’s not a good idea, other than that we are more than happy to point out the on off switch. Hey that’s why I joint the forum in the first place. As for why new members never post, perhaps they searched the forum and found the answers they were looking for. All the best Ric
-
Thanks corrected the post. Thought htaccess may be the problem All the best Ric
-
Hi Tarka I absolutely agree “achievable, albeit, difficult” and “It is worth remembering that the route to success is seldom easy” that was the whole point of my little rant. All the best Ric
-
Not sure what to say! It’s the grain of rice doubled on a chessboard scenario. The core components must remain easy to use, when overlaying any additional components either to enhance marketing ability or functionality must not impact on the core functionality. I am not being negative, take Apache, self-contained, now run it on every OS you can think off. Tweak to make it OS compliant, this assumes there are no other programs installed on the machines that may or will conflict. Add MySQL and perform the same tests and probably a few more tweaks only this time to both components. So we are fully operational and add that new games program, well your servers worked fine yesterday! But now crash, you have only moved a few squares on that chessboard, suppose the grains of rice are keeping your feet warm. What I am trying to say, every component you add needs to be fully tested, not only on the machine you use with its combination of software, but with a vast array of other machines and their mysterious components. Move up a few squares, now you are shoulders deep in rice. The utopian ideal is to have a matrix of available server versions with corresponding programmes, allowing you to pick and mix to create your server installation. Not only a logistics nightmare but also a small problem of moving fifty squares on that chessboard, do the calculations, I am sure China would be happy to have that amount of rice. It’s that testability that is required, could take the ms route, put it in the public domain and make a fortune. I think to put it into perspective; I saw one line of code that floored me, missed because it was not tested. All the bets Ric.
-
Interesting Ric
-
Have a look at this page: http://center.uniformserver.com/home_webse...ity.html#online Corrected link All the best Ric