nixCraft Linux 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 ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


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

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-23-2009, 09:29 PM
Junior Member
User
 
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 11-25-2009, 08:21 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 597
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
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 11-30-2009, 01:09 AM
Junior Member
User
 
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 07-10-2009 05:09 PM
A script for Removing all the files inside a folder and its sub folder vivekv Shell scripting 1 10-25-2007 01:44 PM
rsync folder zafar466 Shell scripting 1 04-28-2007 03:28 AM
Perl programming problem -- Redirecting STDOUT sonaikar Linux software 1 03-10-2006 01:24 AM
Redirecting question sonaikar Linux software 1 06-25-2005 12:18 AM


All times are GMT +5.5. The time now is 02:04 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 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