LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2003, 05:25 PM   #1
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Rep: Reputation: 0
Apache Directory Camouflage


Hello Everyone,

I have an interesting question.

On my Apache server, I want to go from https(ecure)://localhost to https(ecure):/localhost/x/

But I don't want x to show on the directory... I want it to be invisible so that I am looking at https(ecure)://localhost/ when I am in https(ecure)://localhost/x

How can I achieve this?

I've tried symbolic links, but those won't do..., I want to access http(-)://localhost without being redirected to http(-)://localhost/x.

If I'm not clear please let me know.

Let me explain to you my situation,

I am using horde/imp and I want to use it over ssl.
I have that setup the following way,

https takes you to ...htdocs/horde

and for some reason, I had to create aliases for horde directories in order to get the pages to display on ssl.

But this causes the user to be logged out, when he/she refreshes the page. It is very annoying...

I can "fix" this by the alias /horde/, but I don't want people to have to type it. I want them to go straight to https://localhost to check their email, not localhost/horde.

I can't use virtual hosts because I am mycomputer.atsomedomain.com.

Any suggestions or advice will be greatly appreciated.

-T.

Last edited by tropical; 03-27-2003 at 05:43 PM.
 
Old 03-27-2003, 05:35 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Can you not just put and index page in the root directory with a meta refresh tag.

Or - slightly more advanced - use htaccess to rewrite the url.
 
Old 03-27-2003, 05:36 PM   #3
AltF4
Member
 
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
check mod_rewrite (url rewriting) module - it should do what you need
 
Old 03-27-2003, 05:56 PM   #4
tropical
LQ Newbie
 
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Camouflage

I'll check out mod_rewrite... any idea how I might do this, with mod_rewrite?

If not that's ok, I can read...

but the faster I can figure it out, the better, spring break is almost over!

Thank you guys... If you have any more insights, please post them.

-T

Last edited by tropical; 03-27-2003 at 06:05 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 07:03 AM
Apache Directory 2782d4 Linux - Software 3 10-12-2005 04:33 PM
apache - directory listing thejackal13 Linux - Software 1 01-05-2005 11:31 AM
apache directory Longinus Linux - Software 2 04-05-2004 06:37 AM
Apache directory... Z28kid Linux - Newbie 9 02-17-2003 06:12 PM


All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration