server

Home server auto control

I've got home server used to store files. PC 1 (Windows) gets internet directly from HS(Home server - Ubuntu Server) PC 2 (Windows) and PC 3 (Windows and Linux) need access to HS files. I'd like to create software or scripts which would allow to: When PC 1 turns off turn off HS but only when PC 2 and PC 3 are turned off. When PC 2 t...

Apache authentification - letting users from X IP address in WITHOUT required password, others must type password

Hi, now my apache configuration looks like this: <Directory /usr/share/myweb/> AuthType Basic AuthName "myweb" AuthUserFile /etc/apache2/.passwords Require user mw </Directory> It allows everyone to web, but require password. I would like to let some users (from local IP) to be allowed to see the website without a need of aut...

How do i transfer data to next server

hu giys, I am trying to pass some information of a server in which the script is running to next url or server. I tried using curl. i have following two disadvantages: 1.) if cannot locate file it will tell file not found 2.) it waits till the remote file execution is completed. How can i overcome both of the things either by using ...

Cannot connect new servers to existing MOSS 2007 SP2 farm

We have Single Server MOSS 2007 SP2 farm with DBA managed database server. We have different web applications running and deployed several solutions (SharePoint Learning Kit, Facet Search, workflow extensions, new themes) in the farm. Recently we wanted to scale out our farm by adding one WFE and one indexing server. I have installed MO...

Hosting Web site on cloud service

Right now I am planning to build a news publication website that should be automatically scalable when traffic is increasing. I have good experience in developing web applications using ASP.NET and PHP. To move forward on selection of specific technology here are some questions for which I need some clarifications. My primary intention...

php mail attachments weird behaviour

I need some help here with a really weird situation.. i made a webmail form to send emails with multiple attachments, it worked out of the box yesterday but today it only sends 1 file as an attachment and not multiple. O_O I revert my SVN to an older revision also and the problem still persists, any idea? this is really weird.. how wor...

How to create cookie which is Theft proof and can not be tempered by user/client?

Theft proof means i can detect that this is coming from different client IP/ or over different route (when client is behind proxy or something) temper proof mean i can detect that cookie is not valid and not sent by server!! ...

Node.js from localhost

Hi, I'm experimenting with nodejs on my localhost now. I do have a simple server host but I don't have SSH access etc. How can I share my work with people in this situation? Thanks, Tee ...

Why isn't my CORBA server binding?

Currently trying to work my way through Chapter 4 of SAMS - Teach Yourself CORBA in 14 Days. The code from the book seems to work, except rather than stopping as expected, it spits out "Couldn't bind StockServer: " In an attempt to resolve this issue, I modified the book to use POA and I started tnameserv, but the issue remains. Here ...

Getting server side PHP script to run from android apk call

I've gotten HTTP POST to send strings to the server side PHP script. My log is showing the correct return values. The script runs fine manually from the browser and inserts a new db table row. But can't get the script to run by having the apk call it... though, again, it returns all script page content including strings. How can I get t...

Serving static files with logic in django (keeping a downloadcount)

I have a site which enables the user to download certain files. However I want to keep a download count for each file so going the usual way by putting the static files on a different subdomain and then letting apache do the heavy lifting is not a way as well as HttpResponseRedirecting the user to a subdomain isn't good because then the ...

How to keep my public users from landing on my Development Server?

Hi All, We have a team working on a development server that rolls to a live server once a month. (It's on a separte subdomin - but otherwise looks like the live site (which is the point)). How you other distributed teams keep public users off an open development server/site? (We can't use a localhost - we're in 3 differnt countries) T...

Changing default port (i.e. 5037) on which adb server runs

I googled for 5 mins. I also searched for '5037' in all files in android sdk directory. I am a budding android developer and if there is no easy way of configuring adb to run on another port then I am ***king quitting android app development. ...

send large text to server using html form hidden value

HI all I need to send an dynamically generated html to server using html form, html can be bigger size at present it is 1MB I m sending an dynamical generated html to server using form hidden input field. at server side exception is : too large content.. The dynamically generated html is used to generate pdf and generated pdf will se...

Convert a html string to server control in ASP.Net

Hi all, i have a problem so hope you guys can help! I have a string in code behind like this string html = "<asp:CheckBox ID=\"CheckBox1\" runat=\"server\" />"; So how to insert it into aspx page and when the page is rendering, it convert my string as i write it own in the webpage Hope you guys can help Thanks in advance! Let me sa...

C# architecture for long-lived data collecting server apps

We are about to start a new project for a server application, for the purpose of collecting data from several data sources and storing it in a database. For a quick test, we created a WinForms app which uses the core functionality from a custom library, and now have to start migrating it towards the final product. From what we've done ...

Create a server in apache initialization

Hi all, I need some advice regarding writing a module for the apache web server. This module needs to create a TCP server which will listen to incoming connection from another application in our system. The server is having its own protocol, and I use plain unix functions (socket, bind, listen so nothing fancy around there) to create th...

Virtual server for testing

I need to test some php code, what light-server can i install on my computer? ...

Best way to replace file on server

Hello I have to write script in PHP which will be dynamicly replace some files on server from time to time. Easy thing, but the problem is that I want to avoid situation when user request this file during replacing. Then he could get uncompleted file or even error. Best solution to me is block access to my site during replacing by e.g....

IPython threading server execfile()

My problem is the following: I would like to open an instance of ipython in a terminal of mine by simply typing, as usual: $ ipython -pylab and be able to have other processes order this ipython instance to execute a file as the execfile() would. This could be any other process, for instance, vim could ask ipython to run the currently...