domain

Detecting connection to a domain

I'm trying to detect either by calling an API or using WMI whether a computer is connected to a domain. I am currently reading the env. variable USERDOMAIN to check whether I am connected to a domain or not but that only works for domains that I know. Is there a better way to see whether I am connected to a LAN/domain? The code is in ...

How to hide my data stored in database from domain administrator of web server?

I want to make a secure website using ASP.NET, but when I publish it, the domain administrator can see all the data stored in my database (SQL Server). I want to hide my data and code from the domain administrator too. Are there any procedures to do that? Please give me the address of a good domain I can use, which will give me all admin...

How to create own domain extension?

Like bit.ly, goo.gl, is.gd, j.mp, migre.me etc. uses there own domain extension .ly, .gl, .gd, .mp, .me etc. How can I create my own personalize domain extension like .xyz? Please help. ...

Bestpractice approaches for reverse engineering VB6 code with out knowledge of the domain

target state: Porting VB6 Code into C#, undertake the whole project with all conceivable processes that are involved. What would be your approach if you do not have knowledge about the domain? There is nearly any documentation, just legacy code (up to 100.000 - 300.000 lines of code and comments vb6 files that contain up to 14.000 line...

Regular Expressions - Parsing a url

I've delved into Regular Expressions for one of the first times in order to a parse a url. Without going into too much depth, I basically want friendly urls and I'm saving each permalink in the database, but because of differences in languages and pages I only want to save one permalink and parse the url for the page and language. So if ...

How can I redirect when someone enters www.subdomain.domain.com to subdomain.domain.com

I have several websites that I use a subdomain as part of the main url. subdomain.domain.com When someone enters www.subdomain.domain.com they get an error, I want to redirect that to subdomain.domain.com. Thanks in advance! ...

Regular expression to add base domain to directory

10 websites need to be cached. When caching: photos, css, js, etc are not displayed properly because the base domain isn't attached to the directory. I need a regex to add the base domain to the directory. examples below base domain: http://www.example.com the problem occurs when reading cached pages with img src="thumb/123.jpg" or src...

Allowing http iframe to call javascript on https parent frame

I have an https page (https://example.com/main.php) that has an iframe with a non-https source (http://example.com/inner.php). Both files are on the same server - just one is accessed with https and the other is not. I need the non-https page to be able to execute javascript on the https main.php page using code such as parent.myfunction...

Migration to new domain

I'm working on a drupal 6 site at mydomain.com/drupalsite, and the designer has put a lot of hardcoded image paths in there, for instance a custom img folder in mydomain.com/drupalsite/img. So a lot of the site uses links to /drupalsite/img/myimg1.png. Here's the problem -- the site is eventually moving to finaldomain.com, via pointing...

how to upload python application with google apps???

Hey I developed one application and upload on example.appspot.com now i want to upload it on www.example.com what to do??? pls reply fast.. ...

control one domain from other domain

hello, i have been asked to make a marketing site.The concept provided is as follows- There will be a parent site named www.game.com.It will have an admin.My client will create www.baseball.com,www.football.com,www.golf.com and so on.All these websites will have their own admin. Now suppose a golf player named Jack comes to www.game.c...

Google Apps Authentication

Hi i created a GAE application and deplyoed the application. I want to restrict the application for specific domain users. My idea is the application should display the login page of the particular domain and then the page redirects to another form in my application. What concept should i implement here.is Userservice helps me, if so how...

Two jQuery Font Resizer Issues: No Worky in IE, and Cookie Fails Beyond Root

Here is my code: $(function() { var section = new Array('#content'); section = section.join(','); var fontcookieoptions = { expires: 10 }; var originalFontSize = $(section).css('font-size'); // call cookie class $.cookie("test"); // parse cookie into numerical data var savedFontSize = parseFloat($.cooki...

OOP Value Objects and Entities in the same class

I am refactoring an old procedural PHP website into a tasty OOP application with a light sprinkling of Domain Driven Design for added flavour. I keep stumbling upon cases where I have a need for classes that can have subclasses which are either entities or value objects. An url object, for example. There are a zillion urls out there an...

domain subdomain

hello, i m trying to build a website like http://www.yext.com/directory.jsp. they are maintaining this way-- Level 1-http://www.yext.com Level 2-http://www.yext.com/site Level 3-http://www.yext.com/site/minisite if member of Level 3 purchases a product from Level 3 admin of Level 1 or 2 can see that. I want this way Level 1-http://...

cross domain relation

hello, suppose I have www.usa.com as main site. I will create www.utah.com..www.indiana.com...etc on same dedicated server with same hosting. After creating those usa-state sites I will register users from www.usa.com and place them under different states and will give them their own site like www.utah.com/andy . Here user Andy was regi...

which domain to use and which to forward.. SEO reasons. discuss!

Hey guys, I am developing a site for a client and they currently own two domains. howafarms.com and grassfedbeeffl.net The current site has howafarms.com traffic forward straight to grassfedbeeffl.net. My question is.. which one should I use as the main url and which should I forward. Normal logic tells me howafarms.com should be...

Changing the name of a domain internally

I have given my client a domain like www.xyz.com/test. Now for some reason I want to change it to www.xyz.com/testing but I want that client will continue to type www.xyz.com/test. How can I do it? ...

Google Apps login

Hi Im working with Google apps domain java, My idea is to display the domain's login page which used is to authenticate users then it should be redirected to JSP page.I tried following example, in which i want to specify four arguments for userservice as described in example But my servlet allow only two arguments such as userService.cre...

Browser / DNS process for invalid characters in a domain?

I'm wondering how the browser, and/or DNS, handles a user entering an invalid character in a domain name. Let's say that I own meat&potatoes, a well-known chain of fine dining restaurants. All of our marketing refers to us as meat&potatoes (meat + ampersand + potatoes, no spaces), and it's likely that fairly often, people are typing www...