Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Force absolute url in subdir ?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  3 Overlooked Ways to Get Hundreds of Links and Pr..  
Author Message
mike38

External


Since: Jan 23, 2005
Posts: 2



(Msg. 1) Posted: Sun Jan 23, 2005 4:35 am
Post subject: Force absolute url in subdir ?
Archived from groups: alt>apache>configuration (more info?)

Hello,

I'm using Dream mx 2004 with templates for all my site and with relative
url by default.

But I need in a subdir to transform automatically into absolute url. Is it
possible with .htaccess and url rewriting ?

Ie: transform /titi.htm to http://www.toto.com/titi.htm

Many tanks

Mike

 >> Stay informed about: Force absolute url in subdir ? 
Back to top
Login to vote
mfag

External


Since: Jan 22, 2005
Posts: 6



(Msg. 2) Posted: Sun Jan 23, 2005 6:35 pm
Post subject: Re: Force absolute url in subdir ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Why do you want to do this?

Maybe we can suggest an alternative solution. It is always better to use the
relative URL.

--
_____
New computer algebra system:
http://sourceforge.net/projects/dcas/
My website:
http://www.denotesoftware.com/

 >> Stay informed about: Force absolute url in subdir ? 
Back to top
Login to vote
mike38

External


Since: Jan 23, 2005
Posts: 2



(Msg. 3) Posted: Mon Jan 24, 2005 3:35 am
Post subject: Re: Force absolute url in subdir ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 23 Jan 2005 23:21:06 +0100, Martin Johansen wrote:

 > Why do you want to do this?

Hi,

Yes I have find another solution by searching/replacing the relative by
absolute url in the concerned page.

I would prefer a solution without modify the page itself.

I can duplicate the /images/ dir but how to mirroring two subdir ?

Mike<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Force absolute url in subdir ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
rewrite: Map Subdomain to Subdir - Hello, using mod_rewrite in .htaccess files I want to map the URL http:/ forum.xgm.de to http://xgm.de/forum/ transparently for the user. I've the following in my .htaccess RewriteEngine On RewriteCond %{HTTP_HOST} ^forum.xgm.de$ RewriteRule ^/(.*)..

.htaccess doesn't work in subdir of cgi-bin? - Hello all, I try to protect the cgi-bin directory which includes my file viewcvs.cgi . It's in a subfolder cgi-bin/viewcvs/ I'd like to use a .htaccess file but this doesn't seem to work there: the .htaccess file: AuthType Basic AuthName "ViewCV...

Proxy / Absolute Request URI - Hi, I'm running apache on my system. I have noticed the following request from the log files and I'm surprised that apache responds to it. GET http://www.yahoo.com/ HTTP/1.1 Host: www.yahoo.com User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98...

Proxy && Absolute URIs - Is it possible to interpret URIs as the come from the 'ProxyPass'ed server? The application in question creates absolute URIs of it's content (all of which are dynamically generated and currently don't offer any configuration.)

VirtualHosts and Absolute addressing in HTML - Hi, I'm up to my knees in crocodiles on this, and rapidly forgetting that my original intention was to drain the swamp. I'm using Apache 1.3.27 (installed using PHPDev 4) to maintain a number of Web sites. I use my local PC for development only (not as...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]