nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

.htaccess problems

This is a discussion on .htaccess problems within the Linux software forums, part of the Linux Getting Started category; Hi guys. Well i got me a little problem here. I accidently moved a new htaccess file onto an already ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2006, 04:03 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rcordeiro
Default .htaccess problems

Hi guys.
Well i got me a little problem here.
I accidently moved a new htaccess file onto an already existing one, losing all the data in that htaccess.
Now I gotta redo it, no backups

So basically what I need, is when a person accesses the directory /~wip it should redirect automatically to /~wip/wiki/moin.cgi
except when its the /~wip/dav

anybody know how i could get this done? been around since monday :S
can't get it done
Reply With Quote
  #2 (permalink)  
Old 05-07-2006, 04:24 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 199
Thanks: 12
Thanked 9 Times in 9 Posts
Rep Power: 7
sweta has a spectacular aura about sweta has a spectacular aura about
Default

Quote:
So basically what I need, is when a person accesses the directory /~wip it should redirect automatically to /~wip/wiki/moin.cgi except when its the /~wip/dav
I think following is more than sufficent for you:
Code:
Redirect /~wip /~wip/wiki/moin.cgi
Lemme know...
__________________
Reply With Quote
  #3 (permalink)  
Old 05-07-2006, 04:32 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rcordeiro
Default

i've used that line before, have one problem, my css's dont work when using it.
it was suggested to me to use the rewrite module. just dont know how
Reply With Quote
  #4 (permalink)  
Old 05-07-2006, 05:07 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 199
Thanks: 12
Thanked 9 Times in 9 Posts
Rep Power: 7
sweta has a spectacular aura about sweta has a spectacular aura about
Default

May be this help out:

http://moinmoin.wikiwikiweb.de/MoinM...ngAndCookieUrl

I think you need to setup SEO or clean urls...
__________________
Reply With Quote
  #5 (permalink)  
Old 05-07-2006, 07:32 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rcordeiro
Default

well the problem is quite simples i need
/~wip --> /~wip/wiki
i can do this with:
RedirectMatch /~wip https://xyz.com/~wip/wiki/moin.cgi [R]
but a problem appears.
my wiki css's dont appear, just shows in plain text :S
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
Apache Redirect / to index.php using mod_rewrite .htaccess kasimani Web servers 3 30-01-2010 12:37 AM
Internet problems norm134c Getting started tutorials 2 25-03-2008 12:20 AM
Help with MINIX problems grndpilot99 Linux software 0 03-10-2007 08:29 AM
PHPMyAdmin Problems JoeDively Coding in General 0 21-09-2007 09:30 PM
nfs problems marros Linux software 2 21-10-2006 01:30 AM


All times are GMT +5.5. The time now is 06:33 AM.


Powered by vBulletin® Version 3.8.5 - 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