domain

Applet loads jars from different domains; has problem loading resouces (e.g. images) from jars.

Hi, I have a sandboxed Applet, but that should not make a difference. The Applet consists of 2 jars. If I host both files on the same domain1 all is fine. Due to certain special circumstances I need to host jar2 on a different domain2. In the applet tag I list both files archive="jar1.jar, http://domain2.com/jar2.jar". First it seem...

Adding Administrators Via Group Policy

My Windows Vista work computer is a member of a domain. The domain administrators have set up a group policy that keeps adding them as Administrators of my computer every night. Is there a way I can prevent this from happening? I am an Administrator on the computer. ...

1 domain two separate applications.

Hi, I have: http://www.one.com and http://www.one.com/uk www.one.com is the main site, but there is a UK version of this site which ideally needs to be in a subdirectory (/uk). How do set IIS up to allow me to have multiple sites under one domain? Or can I have two separate sites and use ISAPI_rewrite to point www.one.com/uk to r...

Web Applications: Client-side domain logic

We see more and more work for web-applications done on client side. UI manipulation, input-pre-validation (not as last resort of validation, of course), widgets, effects, etc, etc. What if one decides to put domain logic on client side written in Javascript/GWT/anything else? The server just provides database infrastructure. Does this ...

How can I set up my domain name on Google App Engine?

I've made a website to go on App Engine, and have deployed it. I've redirected my domain name to ghs.google.com, and it successfully goes to my site. The problem is that in the address bar, 'www.mysite.com' turns into 'myappid.appspot.com', and I haven't got a clue as to how I make it stay with 'www.mysite.com'. It seems like such a si...

What is the proper way to re-direct?

If I have two domain names: altcognito.com and say I've got the other following domain: alt-cognito.com What's the "best" redirect (do I use permanent etc...?) I want to suggest that altcognito.com is the "correct" website. (naturally, these are just examples) ...

How to use Google app engine with my own domain (not subdomain)?

Hi all, After hours of reading about and experimenting with DNS records I can access my Google app engine app via these URLs: myappid.appspot.com www.myappid.myowndomain.com What does not work: myowndomain.com www.myowndomain.com I want to be able to serve my app directly off my domain and not a subdomain. I've seen apps that do...

htaccess redirect old site to 2 different domains

ok so heres the scenario: i got a blog on the root directory of my host then i hosted some app on a subfolder named fsGallery. now, i bought a new domain for my blog and another domain for my app. ii would like to know the proper htaccess 301 redirects in order for me to redirect the old directories to their respective new domains here...

Is using one-to-one interfaces with domain entities a good or bad practice? Why?

One thing I see in some DDD enterprise apps that I work on, is the use of interfaces that are identical to the domain entities, with a one-to-one mapping of properties and functions. Indeed a domain object is always used through it's one-to-one interface, and all domain entities have a one-to-one interface in this style. For example: ...

NHibernate Mapping File Help

Hi All NHibernate noob here. Looking for advice on how to map the following common scenario: [Store] id pk Name [StockItem] id pk Name [StockItemStore] id pk StockItemId fk StoreId fk ParLevel I have created a domainmodel that allows various StockItems to be assigned to various Stores via the StockItem Entity using a AssignToStore(S...

regular expression for url

what is the regular expression for a url without 'http://www.'? i'd like to validate whether it is uri or not when the user enters the uri name ...

Should I add this to my php code?

First of all, whats the difference between: www.domain.com or domain.com Should I pay attention when I do the coding? ...

PHP RegEx for "Website Name"

Duplicate: PHP validation/regex for URL My goal is create a PHP regex for website name. The regex is for a lead gathering form and should accept any legit kind of website name syntax that someone might enter. After an exhaustive search, I'm surprised that I can't find one out there. Here are the regex matches that I'm looking for: ...

Fetching customer orders: Set<Order> getAllOrders() vs. Set<Integer> getAllOrders()

I haven’t done much Java programming and hence a lot of unanswered ORM questions revolve in my head that might seem as fairly straight forward to more seasoned folks. Let's say we have two classes: Customer and Order. Customer class implements a method called listAllOrders, what should the method’s signature be? Set<Order> getAllOrde...

SQL Server 2008 - Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

I've just installed SQL Server 2008 Developer edition and I'm trying to connect using SQLCMD.exe, but I get the following error: H:\>sqlcmd.exe -S ".\SQL2008" Msg 18452, Level 14, State 1, Server DEVBOX\SQL2008, Line 1 Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. Has anyone seen...

getting "authentication required" whith domain added to host file

In order to debug my website subdomain i added an entry in the host file located at system32/drivers/etc/ but although i don't run into any problem on a vista machine, on an xp one, the browser is popping out a login message box and asks for authentication information. How can i fix this and make it work just like it does on a vista mach...

How to check availability of short domains containing a word?

I need to check the availability of all short domains that contain a word "hello". It can be anything like "hellohi", "aahellokk" or "hellowhello". I know that there are services, like http://www.bluehost.com/cgi-bin/signup, where you need to type the domains one-by-one. However, I want to bulk-check them. Then, I need to generate a list...

Routing incoming requests to specific servers based on domain name

Hello! Right now I have a firewall (iptables, Apache, Squid, DNS installed) and a application server behind the firewall. Incoming traffic on port 443 (HTTPS) of the firewall is redirected to the app. server by iptables. So basically, neither Apache nor other application on the firewall is seeing HTTPS traffic. There is some web conten...

Domain redirect Problem

I have a website say domain.old hosted with say 'host-old' I want to do away with 'host-old' and go with 'host-new' (so effectively 'host-old' hosting would end) Also I want a new domain - say 'domain.new' So now I have 'domain.old' , 'domain.new' and 'host-new' with me Now I want all my old links are preserved: viz. http://domai...

How do I 301 redirect one domain to the other if the first has a folder path

I want to 301 redirect from: www.olddomain.com to the root of newdomain.com but I want it to work no matter what the folder path is on the old domain. eg: the following should all redirect to the root of newdomain.com www.olddomain.com olddomain.com www.olddomain.com/folder/file.php olddomain.com/folder/file.php How can I do that with...