Jump to content
The Uniform Server Community

Ric

Developer
  • Posts

    1,516
  • Joined

  • Last visited

Everything posted by Ric

  1. Strange! Not sure what you mean by “It can't complete it too.” I performed the following steps: 1) I download and installed lccwin2.exe 2) Created a new windows project named “unicontroller” 3) Used the wizard and accepted the defaults 4) Copied, unicontrollerres.h, unicontroller.c and unicontroller.rc 5) Ran “make” which produced an error addeded shell32.lib to linker 6) Ran “make” again had three warnings (lines 93, 94 and 95) “pointer truncation when converting to unsigned short” 7) Ran the program, some of the text was masked changed this section: // Create a label HWND lblServer = CreateWindowEx(0, "STATIC", "Uniform Server Core", WS_CHILD|WS_VISIBLE, 10,80,70,40, hWnd,NULL,NULL,0); To: // Create a label HWND lblServer = CreateWindowEx(0, "STATIC", "Uniform Server Core", WS_CHILD|WS_VISIBLE, 10,80,70,50, hWnd,NULL,NULL,0); I was unable to resolve warning in 6) however since these are not errors ignored them. Popped the result in US and it works. I am not sure if any of the above will help. All the best Ric
  2. Ric

    Stretched Limo

    Hi Ota I apologise just added the final mini-server now I have a bazillion and one. Each mini-server is intended to demonstrate a particular aspect of Apache and MySQL hopefully in an easy to understand way. I have tried to remove the wood so you can see the trees. Having the ability to run several servers on a single PC allows you to model certain network configurations, mini-server 20 attempts this using real applications on several mini servers. http://wiki.uniformserver.com/index.php/Re...r:_Introduction I have had to re-publish all the portable mini-servers, they now work on Vista. I would like to express my sincerest gratitude and thanks to DannyH for devoting a great deal of his personal time in testing; in particular locating the bug, which prevented the mini-servers working on Vista Home Premium. The mini-servers are not isolated entities eventually I will be moving some tutorials over to the Wiki that use them, just takes time. Trouble is I get site-tracked and look at new material and publish that instead. All the best Ric
  3. The equivalent folder to /htdocs is folder WWW Checkout step one on this page: http://wiki.uniformserver.com/index.php/Ne...k_Install_Guide Check out section “Installation - Create a WordPress Database” on this page: http://wiki.uniformserver.com/index.php/Installing_WordPress The above is for Wordpress however the process is the same. All the best Ric
  4. Yep, you can try replacing all occurrences of W: with C:\\UniServerX.X An alternative would be to extract a clean copy of Uniform Server apply Uc_bug_fix_6.exe run the service plugin and perform a fresh install of Joomla. Export your original and import into the new installation. All the best Ric
  5. Open file C:\UniServerX.X\www\joomla\configuration.php At the end of this file what do you have for these two lines: var $log_path = var $tmp_path = All the best Ric
  6. If you look at the top of file unicontrollerres.h you will see this line: The following code comes from K:\lcc\lib\wizard\stddef.tpl */ So I think the compiler was LCC Additional information for that compiler can be found on this page: http://www.q-software-solutions.de/products/lcc-win32/ All the best Ric
  7. While reading through New Users: Quick Perl CGI http://wiki.uniformserver.com/index.php/Ne..._Quick_Perl_CGI I discovered the Perl update got lost when transferring over to the Wiki. This can now be found on page: http://wiki.uniformserver.com/index.php/Bu...patible_modules This update is also included in the combined fix: http://wiki.uniformserver.com/index.php/Bu...ombined_bug_fix All the best Ric
  8. Installing cake CakePHP 1.2.0.7296 RC2 on Uniform Server 3.5-Apollo 1) Start with a fresh copy of US 3.5 2) Start US wait for apanel. 3) From apanel click phpMyAdmin 4) In create new database type maincake (or whatever name you wish to use) click create. 5) Unzip cake_1.2.0.7296-rc2.zip to any folder. 6) Navigate to the last folder named cake_1.2.0.7296-rc2 copy this folder and all it’s contens to US folder www. 7) Once copied rename cake_1.2.0.7296-rc2 to cake 8) Inside folder \Uniform Server\udrive\www\cake edit file .htaccess to look like this: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> 9) Inside folder \Uniform Server\udrive\www\cake\app edit file .htaccess to look like this: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> 10) Inside folder \Uniform Server\udrive\www\cake\app\config edit file core.php Locate the following line (line 153): Configure::write('Security.salt', 'DYhG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'); Change the character string to something different it must have the same number of characters e.g: Configure::write('Security.salt', 'MYhG97b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi'); 11) Inside folder Uniform Server\udrive\www\cake\app\config rename the file database.php.default to database.php edit this file as follows. At the bottom of this page locate the following code: var $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'user', 'password' => 'password', 'database' => 'database_name', 'prefix' => '', ); Change it to look like this: var $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'root', 'password' => 'root', 'database' => 'maincake', 'prefix' => '', ); Note 1: ‘login’ and ‘password’ are set to “root” Uniform Server’s default MySQL name and password. Note 2: ‘database’ set this to the name you created in step 4 12) Check the set-up by typing http://localhost/cake/ into your browser address bar. The following four lines are highlighted in green meaning you are ready to go. a) Your tmp directory is writable. The FileEngine is being used for caching. To change the config edit APP/config/core.php c) Your database configuration file is present. d) Cake is able to connect to the database. All the best Ric
  9. If you change permalink settings every thing between # BEGIN WordPress and # END WordPress are rewritten by Wordpress. Hence place Options +FollowSymLinks outside this block. Options +FollowSymLinks # BEGIN WordPress #Options -Indexes <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress I noticed in your last post you made the file read only. That’s OK Wordpress only needs to set the file up once unless you want to change the settings again. All the best Ric.
  10. I found this: Check out : http://x-ceptions.blogspot.com/2008/07/doc...figuration.html Could be what you are looking for! All the best Ric
  11. Hi Danny Glad it works, after your post I updated the file also upgraded to Stunnel 4.25 see http://wiki.uniformserver.com/index.php/St...l:_Install_4.24 All the best Ric
  12. Hi Danny See you have a solution, will post this anyway: Joomla Version 1.5.6 Docman com_docman_1.4.0rc3.zip I had no problem installing Joomla on 3.5, Docman also installed with no problems. Interestingly like you I could not up-load any files, it requires nothing special that Uniform Server does not already have set. No indication in the log files of a problem. After a little bit of Googling I found the cause check this: http://forum.joomlatools.org/viewtopic.php?f=14&t=935 The above works fine. Note: 1) Extract files from com_docman_1.4.0rc3.zip 2) Apply the above 3) Copy all the files in folder com_docman_1.4.0rc3 to \udrive\www\joomla\tmp Follow this: Note: At step 2 install from folder tmp. All the best Ric
  13. I am not familiar with this type of router hence can’t offer any real advice. It may be worth taking a look at http://portforward.com/routers.htm Perhaps someone on the forum recognises this equipment and can help! All the best Ric
  14. This suggests it’s a router/nat limitation because your server is clearly working: Are you using a router with nat if so what model? All the best Ric
  15. Ric

    Stretched Limo

    Extended range: Includes five ready-to-go servers. Complete range as shown: Server 15 Portable (1.46MB/6.37MB) Port 8095/3315 MediaWiki 1.12.0 Server 16 Portable (1.46MB/6.37MB) Port 8096/3316 WordPress 2.6.1 Server 17 Portable (1.46MB/6.37MB) Port 8097/3317 phpBB-3.0.2 Server 18 Portable (1.46MB/6.37MB) Port 8098/3318 Joomla 1.5.6 Server 19 Portable (1.46MB/6.37MB) Port 8098/3318 Vcalendar 1.1.5.3 http://wiki.uniformserver.com/index.php/Mi...rs:_Ready_To_Go All the best Ric
  16. I have taken another look and now understand the problem, its hidden in this: “The website you want to view requests identification. Please chose a certificate” Real problem was my lack of understanding of the real failure mode! It transpires IE is correct Stunnel is requesting a user certificate. Firefox and Opera ignores this request because no personal certificates are installed. However IE goes through the motions even if there are no personal certificates hence the blank pop up, pressing the OK key promptly ignores the request. Solution is to edit file: stunnel.conf Located in folder: \Uniform Server\udrive\home\admin\www\plugins\stunnel_424\bin Comment out or delete this line: verify = level 1 Note 1: Information for verify : level 1 - verify peer certificate if present level 2 - verify peer certificate level 3 - verify peer with locally installed certificate default - no verify All the best Ric
  17. Well that’s the first time I have seen “Choose a digital certificate”. I liked the choice! None however after clicking OK I received the page I expected with these choices: 1) Click here to close this webpage. 2) Continue to this website (not recommended). 3) More information Clicking 2 OK red browser bar indicating encryption mode. Irritating phising pop-up closed that. I would be interested to see if that blank pop-up occurs when using your real common name danny.xxxxxx.net and not localhost I have tested your site with Firefox 3 and Opera 9.5 as expected works fine. Well I am off to do a bit of Google’ing to see if there is a solution out there. Just noticed, “Have found a work around” would you like to share it. All the best Ric
  18. My preferred answer would be, use Firefox. Alternatively try using localhost as the common name. These pages may be of help: http://wiki.uniformserver.com/index.php/Mi...hentication_SSL http://wiki.uniformserver.com/index.php/Mi...ed_certificates All the best Ric
  19. Ric

    cake php install

    An alternative is to add the line to Cake .htaccess file <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> All the best Ric
  20. Ric

    Stretched Limo

    The mini servers have changed a little, now incorporate auto-drive detection (portable versions) each moved to a unique port. Extended mini-server range to include MySQL series 4 and 5. Advantage of the above modifications you can now run all mini servers alongside Uniform Server 3.5-Apollo. In addition they are multiple servers, meaning you can run them all at the same time!! Mini server overview: Server 1 Portable (451KB/1MB) Apache 2.2.9 Port 8081 Server 2 Service (402KB/821KB) Apache 2.2.9 Port 8082 Server 3 Portable (475KB/1.17MB) Apache 2.2.9 Port 8083 Includes htaccess, authentication and mod-rewrite Server 4 Portable (1MB/2.89MB) Apache 2.2.9 Port 8084/444 As server 3 with added protection of SSL Server 5 Portable (1MB/2.87MB) Apache 2.2.9Port 8085 As server 4 SSL Standalone no main server on port 8084 Server 6 Portable (2.02MB/5.87MB) Apache 2.2.9 PHP 5.2.6 Port 8086 Includes Guest Book Server 7 Service (2.27MB/6.59MB) Apache 2.2.9 PHP 5.2.6 Port 8087 Includes Guest Book Server 8 Portable (2.47MB/7.93MB) Apache 2.2.9 PHP 5.2.6 Port 8088 Includes GBook, PHP Mini SQL Admin and MySQL support enabled. Server 9 Portable (953KB/2.54MB) Apache 2.2.9 Perl 5.10 Port 8089 Server 10 Service (904MB/2.36MB) Apache 2.2.9 Perl 5.10 Port 8090 Server 11 Portable (1.85MB/10.2MB) Port 3311 MySQL 5.0.51b Server Server 12 Service (1.85MB/10.2MB) Port 3312 MySQL 5.0.51b Server Server 13 Portable (1.46MB/6.38MB) Port 3313 MySQL 4.1.22 Server Server 14 Service (1.46MB/6.37MB) Port 3314 MySQL 4.1.22 Server Note: You can use Uniform Server’s built in phpMyAdmin to administer all mini MySQL servers, for details see Wiki. Worthy of note for its encrypted passwords and data is Server 5 making it a very secure personal server. Browsers dislike self-signed certificates this is covered in detail on the Wiki. Have fun Ric
  21. This has been covered search the forum for white screen these pagers are worth a look: http://forum.uniformserver.com/index.php?s...hl=white+screen http://forum.uniformserver.com/index.php?s...hl=white+screen All the best Ric
  22. Ric

    how to upgrad apache

    Upgrade: Go to Apache archive: http://archive.apache.org/dist/httpd/binaries/win32/ Download this file (last in the 2.0 series) it’s easier to upgrade using this version (no need to change configuration file) apache_2.0.63-win32-x86-openssl-0.9.7m.msi Follow the instructions on this page to obtain the binaries: http://wiki.uniformserver.com/index.php/SS..._Apache_Upgrade Alternatively create a batch file named extract_msi.bat in the folder you saved the download to and add this line: msiexec /a apache_2.0.63-win32-x86-openssl-0.9.7m.msi Save the file and double click to run. It appears as if you are installing however it just extracts the files. Save to a folder of your choice, in this folder you will find the Apache files these are several folders down. On a new copy of Uniform Server 3.5-Apollo copy the following from the new version 2.0.63 All the contents of folder bin to folder bin (allow overwrite) All the contents of folder modules to modules (allow overwrite) All the contents of icons to icons (allow overwrite) Note: If you don’t wish to increase size just copy across existing Uniform Server files. Note: I think everything should be compatible, in the past I used the above method for version 2.0.61 that worked fine. All the best Ric
  23. This really is a pain; the first thing I do in any browser is to change the file associations (.pdf) to give me the option to download and not to open or run the file. My original understanding was incorrect you can force modern browsers to present a user with a choice, either to open or save. The method is to change a page’s Header to Content-Disposition Pop this into an htaccess file to allow a user to view or download all text files Header add Content-Disposition "Attachment" Likewise all .msi’s Header add Content-Disposition "Attachment" and .wpl’s Header add Content-Disposition "Attachment" Or you can force all files to have a specific name for example all text files will have the name fred.txt Header set Content-Disposition "attachment; filename=fred.txt" Again a user is offered a choice. All the best Ric
  24. A solution for the 404 error: Open Server_start.bat Locate the line: start %apanel%\redirect.html Just above this line add the following four lines: :next ping 1.1.1.1 -n 1 -w 1000 > nul \home\admin\program\pskill.exe apache.exe > nul IF ERRORLEVEL 1 goto :next You can find more information on this page: http://wiki.uniformserver.com/index.php/Oi...ait_for_process Perl Check out: http://wiki.uniformserver.com/index.php/Category:Perl And this page, in particular the section on “Problems – shebang” http://wiki.uniformserver.com/index.php/Mi...l_5.10_Portable All the best Ric
  25. You can safely remove everything in folder www however it is worth keeping the htaccess file. To put servers on-line remember to comment out these lines in htaccess #Order Deny,Allow #Deny from all #Allow from 127.0.0.1 I would recommend keeping favicon.ico or replacing it with one of your own. Most browsers automatically request it, if not found you get an error in your log file. Tutorials take a look at the Wiki: http://wiki.uniformserver.com/index.php/Ho...eb_Server:_Home http://wiki.uniformserver.com/index.php/30...tatic_URL_setup All the best Ric
×
×
  • Create New...