nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 07-05-2006, 05:03 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
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
Sponsored Links
  #2 (permalink)  
Old 07-05-2006, 05:24 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 154
Rep Power: 4
sweta will become famous soon enough
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...
__________________
Friends - v-nessa - missyAdmin - LinuxChix
Reply With Quote
  #3 (permalink)  
Old 07-05-2006, 05:32 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
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 07-05-2006, 06:07 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 154
Rep Power: 4
sweta will become famous soon enough
Default

May be this help out:

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

I think you need to setup SEO or clean urls...
__________________
Friends - v-nessa - missyAdmin - LinuxChix
Reply With Quote
  #5 (permalink)  
Old 07-05-2006, 08:32 PM
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
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

Bookmarks


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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Apache Redirect / to index.php using mod_rewrite .htaccess kasimani Web servers 1 04-19-2008 12:17 AM
Internet problems norm134c Getting started tutorials 2 03-25-2008 01:20 AM
Help with MINIX problems grndpilot99 Linux software 0 10-03-2007 09:29 AM
PHPMyAdmin Problems JoeDively Coding in General 0 09-21-2007 10:30 PM
nfs problems marros Linux software 2 10-21-2006 02:30 AM


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


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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