Jump to content
The Uniform Server Community

Ric

Developer
  • Posts

    1,516
  • Joined

  • Last visited

Everything posted by Ric

  1. Ric

    username/password problems

    There is no problem with stop.bat; when run it indirectly runs Close.bat this is where the problem is. The file to download is Close.bat.txt when you click this link it will open a text page in your browser. Save the page as Close.bat and place in folder *\Uniform Server\udrive\home\admin\program Note: Batch files are very powerful and potentially harmful because of this certain security software won’t let you down load them hence the .txt extension All the best Ric
  2. Uniform Server is very flexible that’s not a problem you will find details on the following page: http://center.uniformserver.com/multi_servers/multi.html All the best Ric
  3. Note: I deleted your other post that links back to this just keeps everything in one place. Thanks for taking the time to post your solution certainly will help others with a similar problem most appreciated. All the best Ric
  4. I was thinking in terms of something like this: Options +FollowSymLinks DocumentRoot /www/ ServerName localhost You say the two are similar you can easily compare each file side-by-side using WinMerge-Portable obtain a copy from Portable Apps: http://portableapps.com/apps/utilities/winmerge_portable It will quickly highlight any differences you may have changed something accidentally that is difficult to find. All the best Ric
  5. Scrub the above because it is a totally illogical thing to do. Running CGI and modules are not comparing like for like. Added to this will be your target version ideally you should be testing with the same versions of software. MySQL server is also a significant player this must also match the target. Basically what I am saying my first thoughts are a load of tosh mixing cgi and modules certainly would be the wrong approach. A more consistent approach would be to set-up two servers that match your testing requirements. This way would avoid/reduce the number of hidden inconsistencies that will come back to haunt you. Admittedly a little more work in the short term while testing however will save a lot of grief long term. All the best Ric
  6. Entries in the log file suggest you may need to add the following line: Options +FollowSymLinks In each root folder’s httacces file alternatively add it to each virtual host. All the best Ric
  7. I think its possible however you cannot run both, as modules one of them must be installed as cgi. I would go for php4 as cgi. You will need to add a, AddHandler and Action php-script to separate out the cgi stuff. I know it’s a little bit vague that’s because I have never tried it, perhaps some other members on the forum have done this? All the best Ric
  8. I have read your post several times and cannot see anything wrong with your set-up, what you are observing is a limitation of your router. You are accessing your website/s by name from behind your router from PCs on your internal network. Problem is, many routers automatically assume a web connection to itself from inside your network is an attempt to log into the router's configuration interface. Your router is probably one of these (not sure because I am not familiar with the one you are using). “I can locally browse the US's machine IP "192.168.1.106/test1" from any machine on the network, and get the site.” I assume that’s true for IP "192.168.1.106/test2" and IP "192.168.1.106/test2" etc. As for external access “I happened to use my work laptop that is VPN'd, so it appears as it's from another part of the world” that looks OK another method to test external access is to use Google Translate http://www.google.com/translate_t?langpair=fr|en at the bottom of this page enter your sub-domain names. If the page gets translated it is accessible. “Is this just a function of how domain names are served locally when using virtual hosts? Am I doing something wrong, or trying to do something that I shouldn't actually be doing?” It’s not a function how domains are served using virtual hosts. I am sure you are not doing anything wrong. What you are attempting is logical. If you do want to access your sites locally add entries into the host file so the domains can be resolved for example: On the local machine (where the server is running) add to the end of the host file: 127.0.0.1 my-subdomain.my-domain.com 127.0.0.1 my-subdomain2.my-domain.com 127.0.0.1 my-subdomain3.my-domain.com On the other PCs 192.168.1.106 my-subdomain.my-domain.com 192.168.1.106 my-subdomain2.my-domain.com 192.168.1.106 my-subdomain3.my-domain.com All the best Ric
  9. Ric

    UniCenter

    I trust everyone is aware I am in the process of moving some of the UniCenter articles over to the Wiki. To be honest that’s not true! It’s not a straight move because I am taking the opportunity to re-write and update where appropriate. Stunnel and mod ssl are examples of this process hence they are effectively new. Olajide has provided a separate category on the Wiki to make it easier to find what I have moved over. Check out: http://wiki.uniformserver.com/index.php/Category:UniCenter I am concentrating on Uniform Server 3.5-Applo, 3.3 may get a look in anything that is obsolete or not worth the effort will not be moved over, will die a natural death. It’s going to be a long process, takes several hours each night, however I would be interested to know what you would like to see moved over better still anything new that you would like to see. All the best Ric
  10. What you describe has all the hallmarks of a separate install of another server! I am not sure for Vista but the killer normally is LIBMYSQL.DLL search for it if not associated with Uniform Server delete it. Check the Wiki for details: http://wiki.uniformserver.com/index.php/Ne...Dross_and_Floss Search the forum for LIBMYSQL.DLL Has something grabbed port 80! All the best Ric
  11. Ric

    username/password problems

    Thanks for the feedback; I have added a few more works to the section you mentioned. You stated, “the stop.bat file I have doesn't stop the server.” this is a known bug and easily fixed follow the instructions on the following page: http://wiki.uniformserver.com/index.php/Bu...ollo:_Close_bat All the best Ric
  12. Ric

    username/password problems

    Yes they are different should be something like this: // Database configuration file config_db.php $dbhost = 'localhost'; //server name localhost or 127.0.0.1 $dbuser = 'root'; //User name default root $dbpass = 'fred123s'; //Password default root -- I will be using ''fred123'' ?> For more info check out: http://wiki.uniformserver.com/index.php/Ne...rs:_Quick_MySQL All the best Ric
  13. I keep looking at this line: I get the impression your shop files are in the root folder www but should be in www/shop! 1) On the developers' server I access the shop using http://www.mainsite.com/shop This to works because Apache assumes “shop” is a folder lack of a file extension and effectively adds a slash at the end to give http://www.mainsite.com/shop/ It now looks in folder shop for a file named index.php this probably redirects to shop.php a executes your shop script. 2) I have to use http://www.mainsite.com/shop.php in this case Apache sees a file extension and looks in the root folder www for it. Try this use http://www.mainsite.com/index.php if it works I would think your files are probably in the wrong folder. If your set-up is correct you could always create a folder shop and place a script in it named index.php and redirect to http://www.mainsite.com/shop.php Just a thought All the best Ric
  14. What they have supplied looks Ok The only thing I think is missing is: Options +FollowSymLinks Add that to the above lines of code they supplied. For a real good ramble take a look at http://center.uniformserver.com/new_users_...te_1_intro.html It’s one of my tutorials that may shed light on the problem All the best Ric
  15. I seriously hack Uniform Server to death. When irrecoverable I find its because I have run it way out of its intended spec, would be interested to reproduce this problem. If possible can you list what you do to kill it? All the best Ric
  16. Yep replaced the hard drive a quick plug for HP the disks they supplied worked like a charm, had me laptop up and running in no time. All my new write-ups will be on the Wiki trying to transfer UniCenter over just takes an incredible amount of time. Not sure! But I think not since it requires Visual C++ 2005 runtime library. I would assume it requires Visual C++ to compile. LCC is for the likes of myself simple C hacker. All the best Ric
  17. Ric

    A first

    Hi Olajide, That’s got to be the first time we are both on line. Thanks for the space. I have published a few pages tonight with the secure space in place. http://wiki.uniformserver.com/index.php/Bu...o:_Introduction Its 10.56 and I am off to bed trust you like what is there. All the best Ric
  18. Well! MySQL I have just published on the Wiki you may find it of interest. http://wiki.uniformserver.com/index.php/Category:MySQL All the best Ric PS When you run 3.5-Apollo using Server_Start.bat both Apache and MySQL servers are started.
  19. The PHP switch can be found on this page http://center.uniformserver.com/new_users_...sers_php_1.html All the best Ric OK PHP is already enabled.
  20. Ric

    Error with PERL

    I am not sure if a separate installation of Perl is the problem never checked it. What I have found in the past some modules are version specific, i.e. need to be compiled for that version of Perl. I tried to explain on this page: http://center.uniformserver.com/new_users_...1.html#problems hope that helps. All the best Ric
  21. Ric

    Accessing MySQL

    To make it a little clearer I have taken a copy (from the screen) of the transactions. Highlighted, what you need to type in to the command window (cmd) to obtain the mysql prompt: start > run > cmd opens a command window C:\Documents and Settings\mike>w: W:\>cd usr\local\mysql\bin W:\usr\local\mysql\bin>mysql -uroot –proot Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.0.41-community-nt MySQL Community Edition (GPL) Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> (Type in your MySQL commands ) exit Bye W:\usr\local\mysql\bin> Hope that helps Ric
  22. Ric

    Accessing MySQL

    I think this is the page you are looking for: http://center.uniformserver.com/mysql/mysql_console.html All the best Ric
  23. Ric

    CURL Install

    It may be a problem with pick and mix. All files must come from the same compiled version of PHP 1) In php.ini folder *\Uniform Server\udrive\usr\local\php Search for this line: ;extension=php_curl.dll Change to: extension=php_curl.dll 2) Run the attached file in a new folder it contains three files ssleay32.dll --- Copy to folder *\Uniform Server\udrive libeay32.dll --- Copy to folder *\Uniform Server\udrive php_curl.dll --- Copy to folder *\Uniform Server\udrive\usr\local\php\extensions 3) Restart the servers for the new settings to be picked-up I ran this test code // is curl installed? if (!function_exists('curl_init')){ die('CURL is not installed!'); } // create a new curl resource $ch = curl_init(); echo "OK"; ?> If it displays OK your code should work. All the best Ric files_for_curl.exe
  24. I have just published Oily Rag 2 you may find some of the information of interest. http://center.uniformserver.com/us_35_oily...oily_rag_2.html What’s covered? 1) How to rip Uniform Server 3.5-Apollo apart. 2) How to rebuild a new control system 3) Want a new tray menu do your own thing with PStart 4) Wish UniController would do what you want build a new one 5) Want to zap your mind with “C” try lcc-win32 Oily Rag is all about getting your hands dirty! Have fun All the best Ric PS This may be the last write-up for sometime! My hard drive is making un-characteristic noises. The knock-knock I can handle but the 50-minuete start-up time is a pain. That’s apart from the difficulties it now has with finding files, that said it’s extremely efficient and excels at creating bad sectors and corrupt file descriptors.
  25. I am not sure if that plugin is suitable for 3.5-Appolo think it was for 3.3! Have you tried the instructions on this page? http://center.uniformserver.com/php_downgr..._downgrade.html All the best Ric
×
×
  • Create New...