Jump to content
The Uniform Server Community

Twinky

Member
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Twinky

  • Rank
    Junior Member

Previous Fields

  • Main OS
    Windows 7
  1. hallo,, what on earth is wrong with you? - You need to stop moaning. Activating curl will not make websocket work - curl is a http client - for downloading things via http. How do you expect it to work as an incoming socket? What on earth are you talking about FTP for? And 32GB logs? - well you should check and delete them more regularly then.
  2. lol.. i've spent years tinkering with indy sockets in delphi. This has given me a better understanding of how the whole http / sockets system works than many web designers. I had to work around the lack of a supplied dns server (for locally hosted virtual hosting accessible to the rest of the network) but then that left me with a problem of getting all devices on the network configured to use the right dns server and so i had to create a dhcp server just so that i could specify the right nameserver IP in the dhcp reply. The default hosts file setup wasn't going to work for me (or anyone wanting to use vhosts over their LAN. I still don't get why you guys didn't include a dns / dhcp server to work around this for virtual hosting? - If someone wants to host a site locally (eg admin.lan - instead of /apanel) then you either have to reconfigure the hosts file on every device, configure the dns on every device to use the dns server of your choice and then either use a external dns server or an internal one - and if you use a dns server internally to your network then you need to be able to hand out dhcp leases with a nameserver IP. Configuring apache to restart it's child threads took some head scratching though. The ApacheSX naming convention for multiple servers (which is weird) made that impossible but once i hacked the php config file so that apache was installed as Apache2.2 instead of ApacheS1.. the -k restart command worked a treat and i can now create vhosts easily without disrupting any http traffic - though this has to be triggered by a bat file rather than php which is a bit annoying but i suppose that's what cron is for. Also setting up http.conf to allow my logs to be imported into a database table.. that took some doing but i got that working too Those logs are imported via a php service i created - controlled with a service controller like the windows version (and yes, it recognises crashed processes and restarts them!) My UniServer todo list looks like this: Continue work on dns and dhcp servers - including things like AAAA records and bug fixes (the nameserver does work on my setup 24/7 but it's not perfect and the dhcp server conflicts with my partners phone lol so i still need to fix the logic in that) Make a TCP client interface for both dns and dhcp servers (like the filezilla server's interface client) Incoming mail server (you guys got the smtp / outgoing client sorted - though not in 7.0.1 where i had to borrow one from xampp lol - but still no incoming mail handler) - my basic version allows incoming mail to be uploaded to a url such as a php script where it can be processed easily with new features easily written in php rather than a precompiled binary Modify the ssl certificate generating php script to allow it to work for vhosts Modify vhosts.php so that vhosts can be edited - not just created and deleted (a feature i added by commenting each vhost in a ##begin vhost:<domain> and ##end vhost: <domain> type of template in http.conf Once i've got that lot done i'll be completely happy with my UniformServer setup.
  3. cpanel runs on linux and is not just a simple program but a suite of programs - eg the mail / pop3 server which runs 24/7 as a linux process. Cpanel is also expensive.. Your best bet would be to run portable notepad++ from a usb drive - with the ftp plugin if available and then on your uniserver install run the fileziller server as a service.
  4. Even if new releases have stalled existing US versions can be easily hacked up, tweaked, upgraded etc. I'm still using 7.0.1 orion but i'll be blatantly honest, it's still superior to xampp. The later current releases i'm not so keen on as they have a gui driven way of controlling US - older versions had unitray but also batch files for doing things via the prompt and php scripts - it's way cooler and allows you to get some quite complex stuff done with no recompiling etc needed.
  5. Okay i noticed it offers pretty urls which go live instantly.. that's got me curious enough to download and see what i can learn from it but i doubt i'll switch from uniformserver if i can hack that feature into it.
  6. Just to add filezilla server can work without a drive letter at the beginning of it's paths...
  7. Drop down to v7 of US - the unitray is still closed source but there is an alternative control folder where everything can be done via .bat and php files. In later versions this alternative control method has vanished along with the lack of runtime files needed. Version 7 was superior due to not needing runtime files and being easy to hack for extra features etc.
  8. In the right click properties dialog for windows 7 you need to ensure that it can run as administrator. Right click apache.exe>properties>compatibility>change settings for all users>run this program as an administrator. OK your way out of all of that and apache should then be able to run. You might need to do the same with the mysql .exe files too - possibly php but i think as apache calls that it's seen as an apache process.
  9. More likely that your page load speed is a php script that is working slowly - either the script itself is inefficient or it is a slow database query. Of course there's also the problem of teh computer not being powerful enough. I run my US setup on a single core PC and like you i have sluggishness for one of my virtualhosts. If i moved it onto my other machine (8 cores) it would run pretty much instantly... and sound like concorde.
  10. virtual hosts need their own way of being recognised - a shared IP address among 6 virtual hosts won't work.. So you use a name - a domain name. A few problems.. you need a different one for each host (or subdomains) and you need to register them.. You also need to setup apache to handle them (plenty of guides online for that). The REAL problem though is that if you want to access them over a local network then you need two things: domain (either locally hosted or via a public dns) and a proper dns setup in your windows machines. So.. I chose to have local names - like home.lan, admin.lan, inventory.lan... To use them apache has to be configured. Then you need a local dns nameserver on your webserver PC - setup those domains on there and it will serve any local requests with the IP address of your apache enabled pc. The real issue though is that for many networks you'd need to then reconfigure every devices dns settings. If they're all on dynamic IP address's it's easier to use a dhcp server - when each device requests it's IP address the dhcp server can also reply with the ip address of a dns server to use - in this case the one you have your domains on. I do have very crude versions of a dns and dhcp server but they're not ready for release really. I might offer them to the US developers for future releases so make the virtual host setup workable out of the box for users.
  11. Older versions of US didn't need a compiler like lazarus (good to see some popular software is still made in object pascal!). Instead php scripts were executed via a batch file - and IMO this is still the better way of doing it rather than a gui which is possibly limited to certain OS's and may require runtimes etc.
  12. If you want to avoid this dependency problem you could use an older version of uniformserver - version 7 (orion) does not need any runtimes as apache was compiled with a different compiler. I still have no idea why they changed this but it pretty much killed portable wamp setups on usb drives overnight. Use the older 7x servies of uniformserver and you'll be able to run it via usb as normal. It's also very flexible if you want to hack it up and add features.
  13. Did you restart apache? Also no you don't have to use a ssl folder - you can use www if that works for you. Some websites prefer to have a non ssl section and then a seperate ssl section (eg a login page) for whatever crazy reason so a lot of server setups try to offer this so the user has a choice Also you don't have to use mysite.localhost... you can just use .lan instead which is quicker and easier (or you could just use one letter instead if you really wanted!). Talking of which, have you added mysite.localhost to your hosts file so that your dns lookups don't fail?
  14. It won't be US at fault it'll be apache if anything.. so no point moaning about the uniform server project.. What i'd do is delete each line of the virtual host config until you find the one causing the problem. At that point you can then diagnose whats going wrong. I've had similar faults to yours - including apache not starting cos it can't access log files... total pain in the grass but you just have to keep at it. I had to delete 15 virtual host configs from my http.conf until i found the fault - good job CTRL Z works well in notepad++ lol
  15. Note sure about the latest version of US (I'jm still using 7.0.1 orion - it's brilliant and means no runtime dependencies) but in my version there is a tool for creating ssl certificates located in \UniServer\unicon\key_cert_gen\Run.bat It only creates a cert for the main server (not virtual hosts) but it's hackable.. As for seeing the vhosts you need to change teh ssl config file - it's similar to http.conf.
×
×
  • Create New...