LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2009, 10:03 AM   #16
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,605

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532

You've tried it already? Have you restarted apache and cleaned your browser's cache?
 
Old 11-20-2009, 11:29 AM   #17
comptech520
Member
 
Registered: Apr 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Still the same thing,

I'm using a script on my site that when users go to my site, it forwards from index.php to login.php if that helps. So when they go to the site, its mysite.com/login.php, by default

Any further ideas?
 
Old 11-20-2009, 12:12 PM   #18
comptech520
Member
 
Registered: Apr 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Is there a way to redirect all except DEFINED IP using this?

Redirect 301 / http://www.example.com/
 
Old 11-20-2009, 12:52 PM   #19
comptech520
Member
 
Registered: Apr 2006
Posts: 31

Original Poster
Rep: Reputation: 15
Talking

I FIGURED IT OUT!! This is for my web server. I also had to include the IP Address for my server too.
 
  


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
.htaccess question mlapl1 Linux - Newbie 1 06-05-2009 03:54 PM
.htaccess question Seventh Linux - Security 1 07-23-2006 12:31 AM
.htaccess question kidestranged Linux - Software 0 03-08-2005 12:57 PM
.htaccess question djthewombat Linux - General 1 10-21-2002 09:24 AM
htaccess question Legolas Linux - Security 0 08-24-2001 02:14 PM


All times are GMT -5. The time now is 09:08 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