If customer1's_domain.com and customer2's_comain.com are DNS entries
to your server, then your solution can be found in VirtualHosts. This
setup allows you to use different configurations depending on the
hostname the client the provides when they connect. In this case, you
can just set up the appr
Having read the Apache and mod_ReWrite docs I can't see how to setup the
below secienario and Google searches are fruitless as I'm not quite sure
exactly what to search for.
I have a web application which allows many customers to access it
without knowing about each other by suppling their id in th
On Feb 7, 2008 2:23 PM, Mandy Singh <[EMAIL PROTECTED]> wrote:
> how can i have www.one.com serve content from two.one.com but only for index
> page.
>
> else www.one.com/ should be served from www.one.com domain only
> and two.one.com/ should serve from two.one.com domain only.
>
> is mod_rewrite
how can i have www.one.com serve content from two.one.com but only for index
page.
else www.one.com/ should be served from www.one.com domain only
and two.one.com/ should serve from two.one.com domain only.
is mod_rewrite the way to go?
On 06/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
I've asked again our hosting provider about this and their (highly
irritating) answer has been:
"We are sorry however we do not provide coding or scripting support
through this forum. Mod_rewrite works just fine on our servers and your
quest
I've asked again our hosting provider about this and their (highly
irritating) answer has been:
"We are sorry however we do not provide coding or scripting support
through this forum. Mod_rewrite works just fine on our servers and your
question about AllowOverride goes in the php.ini. You can
I'm worried about your head, please take care...
Vincent Bray escribió:
This is making my head spin. The only time the jnlp file is served is
when it's not requested and not rewriten to? That makes no sense!
I'm not sure I understand you here. There is no jnlp file, there is only
a php file.
If
This is making my head spin. The only time the jnlp file is served is
when it's not requested and not rewriten to? That makes no sense!
- Are there any other rules in the file?
- Are there any other .htaccess files in parent directories of this one?
- Does your ISP do anything special with this t
I've done some tests adding the header "Control-Cache: no-cache" to the
requests (using LiveHttpHeaders plugin in Firefox) and (I think) the
proxy caches can be discarded as the origin of the problem.
With this rewrite rule (jnlp):
--
RewriteBase /herramientas/
RewriteRule ^sincronizar1\.jnlp$
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
The only difference between
RewriteRule ^sincronizar\.jnlp$ sincronizar.php
and
RewriteRule ^sincronizar\.html$ sincronizar.php
is that the file sincronizar.jnlp exists, and sincronizar.htm doesn't
(but if I remove sincronizar.jnlp nothing ch
Well, the funny part is that I'm doing all this to try to avoid caching
issues... I'm redirecting sincronizar.jnlp to sincronizar.php only to
add an Expires header in the response (because our hosting provider
doesn't have mod_expires installed and doesn't want to install it...).
The main ISP h
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
This rule doesn't work
RewriteRule ^sincronizar\.jnlp$ sincronizar.php
but this one does work
RewriteRule ^sincronizar\.html$ sincronizar.php
I've also noticed that if I put a fake .htacces file, with something
like "Waboo", there are cases
This rule doesn't work
RewriteRule ^sincronizar\.jnlp$ sincronizar.php
but this one does work
RewriteRule ^sincronizar\.html$ sincronizar.php
I've also noticed that if I put a fake .htacces file, with something
like "Waboo", there are cases where I get an 500 error, but cases where
I don't. For
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
The real url I'm trying to redirect is
http://www.electrodh.com/herramientas/sincronizar1.jnlp
and I want to redirect it to
http://www.electrodh.com/herramientas/sincronizar.php
The content of the herramientas/.htaccess file is:
RewriteEngin
I'm afraid you are right. The "redirect everything" works. There must be
anything wrong in my .htaccess. But I cannot see what it is.
The real url I'm trying to redirect is
http://www.electrodh.com/herramientas/sincronizar1.jnlp
and I want to redirect it to
http://www.electrodh.com/herramientas/
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
That's what I thought. I think this people does have neither mod_alias
nor mod_rewrite enabled, and I don't know why, they are telling me just
the contrary...
That seems unlikely. As you tried the 'Wooga' trick and got a 500
error, your hta
Hello,
Thank you for your answer...
Vincent Bray escribió:
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php".
Be careful using the word redirect as it has a very specific meaning.
I've tried this .htaccess file:
[
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote:
I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php".
Be careful using the word redirect as it has a very specific meaning.
I've tried this .htaccess file:
[
Redirect permanent /foo/bar.jnlp http://www.domain.com/foo/ba
Hello,
I've already posted this question, but having had no answers, I'm trying again
with a more suited Subject.
I'm trying to redirect requests from "/foo/bar.jnlp" to "/foo/bar.php".
I've tried this .htaccess file:
[
Redirect permanent /foo/bar.jnlp http://www.domain.com/foo/bar.php
]
I'v
On 7/20/05, James Sherwood <[EMAIL PROTECTED]> wrote:
>
> Scenario:
>
> I have an apache server on a global ip and one behind a firewall attached to
> tomcat via mod_jk. I would like to redirect or rewrite from the global
> apache to the one behind the firewall.
>
> What I have done:
>
Scenario:
I have an apache server on a global ip and one
behind a firewall attached to tomcat via mod_jk. I would like to redirect
or rewrite from the global apache to the one behind the firewall.
What I have done:
I am trying to do a rewrite and it is working
somewhat. This is what I
21 matches
Mail list logo