Tags:
create new tag
, view all tags

Question

I have installed TWikiVMDebianStable and then upgraded the included TWiki from version 4.0.4 to 4.2.0. It works fine and configure is happy too.

I would now like to use shorter URLs (hide the /bin/view part) but can't find a working solution. I would like to use Option 1 mentioned in ShorterUrlCookbook which means httpd.conf needs editing. I have put the update in the local twiki_httpd.conf for now but I can't get to httpd.conf on Apache because I can't find it.

  1. Where is httpd.conf on TWikiVMDebianStable ? If I know this I might get it to work as documented. -or-
  2. I also tried Option 2 mentioned in ShorterUrlCookbook without success. Does that not work on TWikiVMDebianStable ?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian
Web server: Apache 2
Perl version:  
Client OS: Win2000 Pro (irrelevant)
Web Browser: IE6, Ffox2 (irrelevant)
Categories: Htaccess

-- TorbenGB - 08 Feb 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I guess that your debian setup is using Apache2. In which case, if you have not using virtual hosts, the apache config is now in /etc/apache2/sites-available/default (or /etc/apache2/sites-available/xxx for virtual host xxx).

You may also want to look at my config for inspiration in ShorterUrlSupport. I Use it on Debian Stable on many machines (but never tried TWikiVMDebianStable )

-- ColasNahaboo - 10 Feb 2008

Thank you Colas, I will test this in the next days and report back.

-- TorbenGB - 11 Feb 2008

Colas, I added a small question about paths to your ShorterUrlSupport topic. (I think that's the better place to put the answer than here.)

-- TorbenGB - 12 Feb 2008

Answer to Where is httpd.conf on TWikiVMDebianStable :
The Apache httpd.conf in TWikiVMDebianStable already does Include /home/httpd/twiki/twiki_httpd.conf so it's enough to just edit the latter (there is a template provided).

The second part about actually using this to achieve ShorterURLsOnTWikiVMDebianStable is not done yet but I'll report back when I have results.

-- TorbenGB - 13 Feb 2008

Although TWikiVMDebianStable is Debian-based, Ubuntu is close enough to Debian that the TWikiOnUbuntu page is helpful in pointing out where things are at the Debian level. The TWiki part is quite different as TWikiOnUbuntu uses an Ubuntu package for TWiki (i.e. you just type apt-get install apache2 twiki and you're done).

-- RichardDonkin - 14 Feb 2008

Update: Our intranet project is going forward slowly at the moment. The issue in this topic is not dead -- it just takes longer to resolve.

-- TorbenGB - 06 Mar 2008

Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 01 May 2008

Update: We have now moved away from the Debian VM to a dedicated Suse machine. I need to start over looking at this.

-- TorbenGB - 22 Sep 2008

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-09-22 - TorbenGB
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.