Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Mod rewrite and OSX

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Funny as f**k  
Author Message
coluche

External


Since: Feb 10, 2004
Posts: 2



(Msg. 1) Posted: Tue Feb 10, 2004 6:55 pm
Post subject: Mod rewrite and OSX
Archived from groups: alt>apache>configuration (more info?)

Hi,

Mod_rewrite is loaded in httpd.conf, but it does not work, is that something
I missed ?

Coluche

 >> Stay informed about: Mod rewrite and OSX 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 2) Posted: Wed Feb 11, 2004 1:19 am
Post subject: Re: Mod rewrite and OSX [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <BC4EAF5D.28EDD%coluche@altern.org>,
"C." <coluche.RemoveThis@altern.org> wrote:

 > Mod_rewrite is loaded in httpd.conf, but it does not work, is that something
 > I missed ?


you should send us the Rewrite rule you're trying to use


patpro

--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Mod rewrite and OSX 
Back to top
Login to vote
coluche

External


Since: Feb 10, 2004
Posts: 2



(Msg. 3) Posted: Wed Feb 11, 2004 1:19 am
Post subject: Re: Mod rewrite and OSX [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I need to rewrite:

<a style='text-decoration: underline;' href="http://www.domain.com/$news/" target="_blank">http://www.domain.com/$news/</a> and <a style='text-decoration: underline;' href="http://www.mydomain.com/$news/$user/" target="_blank">http://www.mydomain.com/$news/$user/</a>
into
<a style='text-decoration: underline;' href="http://www.mydomain.com/index.php?site=$news&user=$user" target="_blank">http://www.mydomain.com/index.php?site=$news&user=$user</a>

RewriteRule ^(/[a-z0-9]+)*/([a-z0-9]+) /index.php?site=$2

Does not work

coluche

in article patpro-A8E899.22195510022004.DeleteThis@news.fu-berlin.de, patpro at
patpro.DeleteThis@boleskine.patpro.net wrote on 10/02/04 16:19:

 > In article <BC4EAF5D.28EDD%coluche@altern.org>,
 > "C." <coluche.DeleteThis@altern.org> wrote:
 >
  >> Mod_rewrite is loaded in httpd.conf, but it does not work, is that something
  >> I missed ?
 >
 >
 > you should send us the Rewrite rule you're trying to use
 >
 >
 > patpro<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Mod rewrite and OSX 
Back to top
Login to vote
patpro1

External


Since: Nov 20, 2003
Posts: 40



(Msg. 4) Posted: Wed Feb 11, 2004 2:48 am
Post subject: Re: Mod rewrite and OSX [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <BC4EBC60.28EF3%coluche@altern.org>,
"C." <coluche.TakeThisOut@altern.org> wrote:

 > I need to rewrite:
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.domain.com/$news/" target="_blank">http://www.domain.com/$news/</a> and <a style='text-decoration: underline;' href="http://www.mydomain.com/$news/$user/</font" target="_blank">http://www.mydomain.com/$news/$user/</font</a>>
 > into
<font color=purple> > <a style='text-decoration: underline;' href="http://www.mydomain.com/index.php?site=$news&user=$user</font" target="_blank">http://www.mydomain.com/index.php?site=$news&user=$user</font</a>>
 >
 > RewriteRule ^(/[a-z0-9]+)*/([a-z0-9]+) /index.php?site=$2
 >
 > Does not work

launch the terminal (/Applications/Utilities/Terminal.app) and type :

tail -f /var/log/httpd/error_log

then test your web site. You'll soon find what's wrong with your rewrite
rule.

patpro

--
je cherche un poste d'admin UNIX/Mac
<a style='text-decoration: underline;' href="http://patpro.net/cv.php" target="_blank">http://patpro.net/cv.php</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Mod rewrite and OSX 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
rewrite url - Hi, I have two domain names on the same IP-address (IP-host based). How can I redirect one of the domains to another documentroot ? Regards and the best wishes for 2004. Michael

Mod rewrite - Hallo, I have write in a .htaccess File something like this: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?.*? index.php?show=$1&s2=$2&s3=$3&s4=...

mod-rewrite - I am attempting to use mod-rewrite to chnage my dynamically created pages into static urlls for search engine submission. I am unable to get the rewrite to work, it doesn't seem to do anything. Here is the code RewriteEngine on RewriteBase..

Mod Rewrite help - I've got 10,000+ files in a folder http://www.myseite.com/acrhives/ i.e. .../archives/2000/12/, .../archives/2000/11/, .../archives/2000/10/ ... Several years, many months of html mhonarc-archived docs. We have so many files in this one folder, I've..

REWRITE - I have a movie download site and what i need is that if users are linking my files (like http://www.eengoedidee.nl/videoz/bmx/jib.mpg) that they come to a page for the download. Like this..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]