server

gem server -- where is my root dir? mac osx

I'm a complete apple newbie coming from a LAMP+windows setup trying to figure out how ruby and apple works. So I just executed "gem server" and i have this server running on localhost:8808 now, great -- it works. BUT Anyone know where the heck is my root directory ie. the equivalent of htdocs? I can't find it, damnit. cheers... ...

how to set a server wide variable in coldfusion

as it stands i have to maintain a variable in my application.(cfm|cfc) to set the environment, which the application currently runs under. the environment being (development|test|production). i'd like to set and environment variable on the server itself, so that i can read its value in the application.cfm. is that possible? ...

NTLM authentication for a web server side application

My Windows based application written in C++ ( basically an HTTP/1.1 proxy server) listens for requests from various users. Presently it is able to send a 407 Basic Challenge, and process the response from the Headers. I know I must modify the challenge headers, so that the client browsers make an NTLM based response for the purpose of au...

How to disable the "autodeploy" to server feature in an Eclipse web project

I am using Eclipse (J2EE Galileo) and have created a dynamic web project and associated it with a server (JBoss). Now, whenever I make changes to one of my JSP pages, Eclipse will build and autodeploy the WAR file to the server. This is sometimes useful, but sometimes more in the way for me. I would like to disable this feature, and i...

C# - Finding Database Servers in a network.

What should be the C# code to find all the Database Servers connected in a network(including instance-name, port no, and IP address)? ...

setting up subdomains on nginx

Hi there, I'm trying to set a subdomain on nginx. My setup is a Pylons app running on port 8080 and using proxy from nginx. The reason why I'm trying to get subdomains to work is to eventually set up dev and staging servers. Here is my nginx.conf file: worker_processes 2; events { worker_connections 1024; } http { inclu...

WCf server busy threads single-core

I am trying to set up a service and I keep getting the following error The HTTP service located at http://localhost/Service1.svc is too busy. Its very annoying problem that I wish I could fix. I am not overloading the system but I am using Threads in my program. Maybe I should disable them? no? I am using an old computer running Ser...

Rails application deployed and working, but MySQL database appears empty

I've deployed a Ruby on Rails application using mod_rails and nginx over Capistrano, and it's working perfectly, but I have a baffling problem. When I run the following command on the server: SHOW TABLES IN application_production; MySQL returns: Empty set (0.00 sec) I know that information is being written to the database because ...

How to allow writing to a file on the server ASP.net

So I have file that is in folder in website folder structure. I use it to log errors. It works when ran from Visual Studio. I understand the problem. I need to set permissions on inetpub. But for what user ? and how? I tried adding some IIS user but it still can not write to the file. So I am using ASP.net Framework 3.5 SP1 Server is...

add a server alias to the domain's VHOST?

I have a VPS. I hosted a domain ipointing to a sub directory of the www folder. The domain works fine till the home page. The moment I start going to other pages its shows my servers [orginalname]/[subdirectory name] . I think I need to add a server alias to the domain's VHOST. Can anyone tell me how to do that?? ...

Choosing a Subversion Server

Hi, After settling on Subversion as my RCS needs (and AnkhSVN/TortoiseSVN for my primary Subversion clients), I am trying to choose an SVN server. I have looked at a bunch of them: Local (ie file:///) Collabnet VisualSVN Server Tigris SilkSVN SharpSVN Apache module I’ve installed each in a VM to try them out but have not found enoug...

Dealing with long server-side operations using ajax?

Hi there, I've a particularly long operation that is going to get run when a user presses a button on an interface and I'm wondering what would be the best way to indicate this back to the client. The operation is populating a fact table for a number of years worth of data which will take roughly 20 minutes so I'm not intending the int...

Can I stop an IIS?

In a .NET windows application to to modify a remote machine config file that is used by an ASP.NET application. However, I keep getting the error: System.IO.IOException: The process cannot access the file '[file name]' because it is being used by another process. Now, this may not be the problem, but I'm figuring that if I can stop th...

How to configure KickIt! button in Community Server?

CodeBetter.CommunityServerExtensions.dll allows to add captcha control and KickIt! button to Community Server 2007. I configured captcha control but have no luck with KickIt! button. The related web page is here but there is no description how to use it and library is not downloadable. Please advice how I can configure KichIt! butto...

What is the difference between a SVN server and a HTTP server

On my subversion client (cornerstone), when connecting to a new SVN repository I have 3 options: File repository, HTTP Server and SVN Server. Is the difference only in the protocol used to communicate ? ...

FreeBSD Server .htaccess issues

Server Details: FreeBSD PHP Version 4.3.11 Apache Appache Modules: mod_throttle, mod_php4, mod_speedycgi, mod_ssl, mod_setenvif, mod_so, mod_unique_id, mod_headers, mod_expires, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_actions, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod...

How to check user login state for a different site.

Here is the situation. I have a site that only allows one user to be logged in at one time. However, I need a server to scrape this site and put data into the database. However the admin need to be be able to log into this site from time to time. So what I would like is for the server to proxy the admins login so that the server won't ...

Tomcat Error . Apache Tomcat error... org.apache.catalina.core.StandardWrapperValve invoke

here's my problem.. i have recently got my liferay portal ext running on Tomcat 6.0.20. everything works fine, but when i click some link this error comes up on the log.. some Javascript also is not working i guess. i am also running my server on Ubuntu 9.04, used Mysql as my database. hope you can help me thank you in advance here...

Sending floating point number from server to client.

I am using TCP/IP socket programming. I have a floating point value stored in a variable ret_val in my server code which I want to send to the client which is waiting to receive it. How can I do it? ...

Why doesn't my Perl CGI script work?

I really do not get how to run a Perl file. I have uploaded my .pl to the cgi-bin then chmod to 755. Then when i go to run the file i just get a 500 internal server error. **/cgi-bin/helloworld.pl** #!/usr/bin/perl print 'hello world'; Any ideas as to what I am doing wrong? ...