Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-27-2003, 04:25 PM   #1
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

Any suggestions or advice will be greatly appreciated.


Last edited by tropical; 03-27-2003 at 04:43 PM.
Old 03-27-2003, 04:35 PM   #2
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, 04:36 PM   #3
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, 04:56 PM   #4
LQ Newbie
Registered: Feb 2003
Posts: 9

Original Poster
Rep: Reputation: 0

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.


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


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 06:03 AM
Apache Directory 2782d4 Linux - Software 3 10-12-2005 03:33 PM
apache - directory listing thejackal13 Linux - Software 1 01-05-2005 10:31 AM
apache directory Longinus Linux - Software 2 04-05-2004 05:37 AM
Apache directory... Z28kid Linux - Newbie 9 02-17-2003 05:12 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 AM.

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