nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

Redirecting url to a folder

This is a discussion on Redirecting url to a folder within the Web servers forums, part of the Mastering Servers category; Hi all, Using lighttpd on Debian box. I'am trying to do a "special" redirection, and can't find any way to ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 23rd November 2009, 09:29 PM
Junior Member
 
Join Date: Aug 2009
OS: Debian 5.0 64 bits (webserver)
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Redonx is on a distinguished road
Default Redirecting url to a folder

Hi all,

Using lighttpd on Debian box. I'am trying to do a "special" redirection, and can't find any way to do it...

Here is my lighty config file:
http://88.191.100.37/light.conf

I would like to access the folder "downloads" which is located in the root my web dir (/var/www/), using the following URL:
Nesoblog : jeux vidéo, geek, et trucs débiles...

Concerning Nesoblog : jeux vidéo, geek, et trucs débiles..., it is located inside /var/www/nes (see config file) and works fine.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 25th November 2009, 08:21 PM
jaysunn's Avatar
Contributors
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: Red Hat Linux
Scripting language: bash awk sed
Posts: 793
Thanks: 116
Thanked 107 Times in 97 Posts
Rep Power: 14
jaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud ofjaysunn has much to be proud of
Default

Have you solved this? when I click the link it goes to:

http://downloads.nesoblog.com/
Nesoblog : jeux vidéo, geek, et trucs débiles...


Is this what you are trying to achieve?


Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #3 (permalink)  
Old 30th November 2009, 01:09 AM
Junior Member
 
Join Date: Aug 2009
OS: Debian 5.0 64 bits (webserver)
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Redonx is on a distinguished road
Default

Sorry for the delay.

It is not fixed. My link "downloads.nesoblog.com" is not setup to the appropriate directory, and I don't know how to do it.

Right now, everything before the dot (ie : xxxxx.nesoblog.com) redirects to nesoblog.com

Any idea please ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Redirecting stderr / stdout of a daemon manishkochar Shell scripting 1 10th July 2009 05:09 PM
A script for Removing all the files inside a folder and its sub folder vivekv Shell scripting 1 25th October 2007 01:44 PM
rsync folder zafar466 Shell scripting 1 28th April 2007 03:28 AM
Perl programming problem -- Redirecting STDOUT sonaikar Linux software 1 10th March 2006 01:24 AM
Redirecting question sonaikar Linux software 1 25th June 2005 12:18 AM


All times are GMT +5.5. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40