I want to validate a registration form that accepts an email address in the following format (it's a subdomain)P
[email protected]
Actually,because there can be so many variations of emails nowadays, is there a handy regex for checking just the last part of the email e.g. .ie, or .com
GF
...
Hi,
I am trying to share the contents of the session variable across two subdomains but for some reason it is not working.
The sessionid is exactly the same on both subdomains but the variables aren't available.
I can achieve this with Cookies and this s working but would rather use the values in the session.
Here is how I setting th...
It would be absolutely awesome if someone could help me out here.
I have a domain, let's call it "example.com". I have wildcard subdomains setup and working great. The only problem is I can't get htaccess to see anything else like subdomain.example.com/profile/some_name/some_id_number/. In fact, I can type any garbage after the domain a...
My website is going to allow users to choose their own subdomain. I've got quite a list going but want to see if there are any others out there that you think would be worth it...
Thanks in advance!
$banned_subdomains = array(
'cname',
'www',
'test',
'js',
'css',
'cache',
'static',
'img',
'images',
...
Now I have apache configuration which works only with localhost domain (http://localhost/).
Alias /media/ "/ścieżka/do/instalacji/django/contrib/admin/media/"
Alias /site_media/ "/ścieżka/do/plikow/site_media/"
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE...
I'm new to Zend Framwork and this is an issue I've been struggling for several hours already...
I'm trying to chain Hostname and standard Route in order to get url with subdomain+subfolders ie.:
http:// lang.mydomain.com/myapplication/public/controller
http:// lang.mydomain.com/myapplication/public/controller/action
(sorry for the em...
Hello,
I own 2 domains
sio-india.org and sio-india.com
What i want to do is redirect all the subdomains from 1st domain to 2nd domain.
eg. home.sio-india.org to home.sio-india.com
I am using this code in htaccess but it is not working.
RewriteCond %{HTTP_HOST} ^(.*)sio-india\.org$ [NC]
RewriteRule ^(.*)$ http://%1sio-india.com/$1...
I simply cannot believe this is quite so hard to determine.
Even having read the RFCs, it's not clear to me if a server at subdomain.example.com can set a cookie that can be read by example.com.
subdomain.example.com can set a cookie whose Domain attribute is .example.com. RFC 2965 seems to explicitly state that such a cookie will not...
Is it possible to share a session between my PHP app on a subdomain and my Ruby apps on my other subdomains?
I don't really know where to take it from here. I know I can manually set the domain to the root one so that the cookie is valid for all the subdomains, but how would I get/set stuff from/to the session so that it's shared across...
I've been doing a lot of reading on how to optimize website performance. Both Google and Yahoo advocate using cookie-less domains; I've also read about setting up subdomains to achieve the same effect.
My question is: is there a way to determine if cookies are being set at the *.example.com level versus the www.example.com level? I have...
I have a site with many pages at different third-level subdomains. I have checked Google Page Ranking. It was different for different subdomains.
How can I tell search engines (Google, Yandex) that all my subdomains are indivisible site with one rating?
...
I'm trying to redirect all pages and subdomains by preceeding them with a m. subdomain unless it starts with a m. yet it completely fails. where am I going wrong?
example.com or www.example.com -> m.example.com
test.example.com -> m.test.example.com
images.example.com -> m.images.example.com
m.example.com -> Don't redirect
m.test.exampl...
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!
...
Note: migrated to: http://serverfault.com/questions/165570/dns-record-ssl-redirect
Hi there,
I wonder if anyone is able to point me in the right direction?
We want to setup a sub domain on our server which points to an IP of a second server which is providing some checkout functionality for us.
So when a customer types sub-doma...
Let's say I have the following subdomain to my root (mydomain.com): blog.mydomain.com.
Does Google treat the subdomain separately from the root from an SEO perspective?
Is it better to use mydomain.com/blog so that I'm optimizing my root page?
Is there an best-practice RoR approach to rectifying sub-optimization issues presented by ...
I have a Django application being served of (say) example.com. It contains a number of sub-applications (say) strength, speed and skill. The URL scheme is something like http://example.com/strength, http://example.com/speed and http://example.com/skill. This is how I run my dev server (using runserver) and there are no problems whatsoeve...
Hi. I have my site setup like this:
www.mysite.com
subdomain.mysite.com (configured as an application)
I then registered another domain, lets call it www.myothersite.com which redirects to subdomain.mysite.com using masking so that the address always remains www.myothersite.com/...
Within the subdomain site I have a forms authenticati...
I'm working on an multi tenant app, so I have a lot of dynamic subdomains:
user1.example.com
user2.example.com
etc
It works great, but there's one problem though. Images are not displayed.
<img src="/images/logo.png" />
Will display on example.com, but it won't work on user1.example.com
I can of course use the following solution:...
What are the best practices and solutions for managing dynamic subdomains in different technologies and frameworks? I am searching for something to implement in my Django project but those solutions that I saw, don't work. I also tried to use Apache rewrite mod to send requests from subdomain.domain.com to domain.com/subdomain but couldn...
I've got a number of subdomains on one of my sites. When someone goes to a subdomain that doesn't exist, I want to redirect to a 404 page on my main domain.
noexist.example.com --> example.com/404.php?subdomain=noexist (or without the query string if HTTP_REFERRER can give me that info)
I'm running LAMP on a VPS with cPanel installed...