host

IIS SMTP remote domain smart host never sends

I'm not a novice but sure feel like one, Using IIS SMTP, I'm unable to get the smart host for a remote domain to send email. Instead it always wants to send it from the IIS server unless I turn on smart host for entire SMTP IIS server in the properties. No matter what settings I put in the remote domain settings, it never uses those ...

no pg_hba.conf entry for host

Hi All I am new to Perl as well as Postgresql I get following error when i try to connect using DBI DBI connect('database=chaosLRdb;host=192.168.0.1;port=5433','postgres',...) failed: FATAL: no pg_hba.conf entry for host "192.168.0.1", user "postgres", database "chaosLRdb", SSL off Here is my pg_hba.conf file: # "local" is for Unix...

C# TCP Server Help

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Sockets; using System.IO; namespace PDMS_TCG { public partial class FormHost : Form { public FormHost()...

Has anyone setup tomcat to run virtual hosts using mod_jk

I work in OSX primarily with mostly PHP. Normally I work locally using MAMP and virtual hosts setup in my httpd.conf so that I can point a browser to http://some-project and have as many projects as I need setup. We have a project coming up where we need to serve JSP pages and I would like to set up my local apache server to serve only...

How to set custom "Host" header in HttpWebRequest?

How can I set a custom Host header in HttpWebRequest? I know that normally this class doesn't allow you to do so but is there anyway to use reflection or something like that without actually need me to send the whole packet with TCPClient? ...

Python: Grab the A record of any URI?

I basically want to implement something where you can type in any URI ( I probably will only deal with http ) and I want to return the A record of the domain in the URI, I want the server's IP address. I know there's the ping command which most people use to look an ip address up, but I also know there's 'host' and 'dig' which are more...

Multiple Services Hosted under one Windows Service

Hello there, I have two Services called TemplateService, TemplateReportService (both defined in one WCF Service Library) to be exposed to the client application. Is it possible to host these two services under one Windows Service? Thank you! ...

Get the current url but without the http:// part bookmarklet!

Hi! Guys I have a question, hoping you can help me out with this one. I have a bookmarklet; javascript:q=(document.location.href);void(open('http://other.example.com/search.php?search='+location.href,'_self ','resizable,location,menubar,toolbar,scrollbars,status')); which takes URL of the current webpage and search for it in another ...

Django modify DATABASE_HOST at runtime

I am trying to switch between 2 mysql servers at runtime. I do not need to maintain both connections alive all the time. This is what I am doing from django.conf import settings from django.db import connection from django.contrib.auth.models import User connection.close() setattr(settings, 'DATABASE_HOST', 'mysql1.com') list1 = User....

Web Application Server

I'm very new to web development but I will try to explain my question as best I can. I am making a basic chatroom program (in C#) but I have never made my own online server before, and it needs to respond to tcp packets. I know how a server works, I just don't know how to implement my server and how people will be able to access it. Ho...

virtualbox get access winscp access from host (vista) to guest (ubuntu)

what worked fine is http://kdl.nobugware.com/post/2009/02/17/virtualbox-nat-ssh-guest/ so that i can connect to guest system using ssh with putty but winscp does not work? what i still have to install? ssh was installed on ubuntu apt-get, but what else... does winscp from vista need more ports? and if how to manage this?! ...

How can I host a c# control in a win32 app?

Hi, I've developed a c# control, and I can reuse this in other c# apps and that works really well. However I want to host this control in a Win32 c++ app, is there a way to do this? I was wondering if it would work with managed c++, however I can't quite figure out if this is possible. Any help would be gratefully received. Cheers R...

WCF multiple host headers

I have created a wcf service that i have uploaded to my host (using IIS). Everything works fine. So, if i go to http://www.mydomain.com/path/Service.svc it works fine. If i go to http://mydomain.com/path/Service.svc i get a resource not found error. I have created a clientaccesspolicy.xml under the path folder which contains the followi...

A newbie question I have to ask, beginning network programming for games?

I'm an absolute newbie in this field and I'm kind of frightened of heading down the wrong path of network programming. I'm trying to build a strong network library for my game engine. I've looked online and have seen there is a network library with boost, I'd love to use that as I'm really keen on further integrating it with my codebase...

Hosting CLR in Delphi with/without JCL - example

Can somebody please post here an example how to host CLR in Delphi? I have read similar question here but I cannot use JCL as I want to host it in Delphi 5. Thank you. EDIT: This article about hosting CLR in Fox Pro looks promising but I don't know how to access clrhost.dll from Delphi. Edit 2: I give up on Delphi 5 requirement. No...

why is php's ini_set function switched off on shared hosts

I am using hosting on VPS and they've not allowed me to use php's ini_set function to set configuration at runtime, on a script by script basis. Instead I must change the settings directly in the php.ini file which is a mission to access via SSH. Why is this? This, although fine, is slightly annoying as I have 12 domains on the shared...

Unit testing with an external host process dependency

I'd like to run some NUnit unit tests against a class in a .Net class library assembly which is designed to be hosted by an external process (outside of my control) and loaded at runtime. The class I want to test derives from a class defined within the host exe that requires it to be instantiated within the host process. Any attempt to...

Allow hosting videos and embed option website

What is the best website that Allow hosting videos and embed option (not youtube) ...

Unknown Host error when attempting to connect to connect to Eclipse plugin repository

Hello, I am running Ubuntu 9.10 and I'm attempting to install a plugin for Eclipse 3.5 from a repository that my company created. This worked in the past on this linux box and also works just fine on my laptop which has Windows XP installed. The exact error message I'm getting in Eclipse is: Unknown Host: <location of repository> org...

Rails: generate a full URL in an ActionMailer view

I'm using ActionMailer to send a sign up confirmation email. The email needs to contain a link back to the site to verify the user, but I can't persuade Rails to generate a full URL (including the domain etc). I'm using: <%= url_for :controller => 'login', :action => 'verify', :guid => @user.new_user.guid, :only_path => false, :host =...