> -----Original Message-----
> From: Rubén Rubio [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 16, 2007 12:23 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Apache conf accepting special get parameter
> 
> I sure rewrite is not necesary. In our local test server is 
> working fine in a generic way. 
> 
> Plesk has its own configuration and I dont know what I should 
> add to allow that virtual server to accept that,

I have no idea how Plesk works - it is a third-party config tool and if you 
want to use that, ask the question on a Plesk list. 

> 
> Thanks anyway for response, If I do not found any other 
> solution I ll try to apply some rewrite rules. 

I wouldn't be surprised if Plesk actually defines rewrite rules behind the 
scenes...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> 
> On 1/16/07, Boyle Owen <[EMAIL PROTECTED]> wrote:
> 
>       > -----Original Message-----
>       > From: Rubén Rubio [mailto:[EMAIL PROTECTED]
>       > Sent: Tuesday, January 16, 2007 12:07 PM
>       > To: users@httpd.apache.org <mailto:users@httpd.apache.org> 
>       > Subject: [EMAIL PROTECTED] Apache conf accepting special 
> get parameter
>       >
>       > Hi,
>       >
>       > I have a web server with apache and plesk configuration
>       > (almost by default by hosting service) 
>       >
>       > I want a web to accept URLs like
>       > http://www.tusrestaurantes.com/restaurante.php/id/2414.htm ,
>       > but it reports a 404 Error. (typical 
>       > 
> http://www.tusrestaurantes.com/restaurante.php?id=2414 works fine)
>       
>       I guess you want a rewrite rule? (see 
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriter
> ule 
> <http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriterule> )
>       
>       Your provider needs to support mod_rewrite and allow it 
> in a .htaccess file, then something like (untested):
>       
>       RewriteRule ^/restaurante\.php/id/(\d+).htm 
> /restaurante.php?id=$1 
>       
>       If this doesn't "work" - read the docs and switch on 
> rewrite logging then try a few pattern variations yourself 
> before posting back...
>       
>       Rgds,
>       Owen Boyle
>       Disclaimer: Any disclaimer attached to this message may 
> be ignored. 
>       >
>       > I can't find the option to make apache accept
>       > http://www.tusrestaurantes.com/restaurante.php/id/2414.htm .
>       > I our local test server this is working fine. 
>       >
>       > Any ideas?
>       > What should I look for?
>       > Any additional option in directory or virtualhost directive
>       > to allow to accept this?
>       >
>       > Thanks in advance
>       >
>       > --
>       > Ignore Linux at your own risk 
>       >
>       
>       
>       This message is for the named person's use only. It may 
> contain confidential, proprietary or legally privileged 
> information. No confidentiality or privilege is waived or 
> lost by any mistransmission. If you receive this message in 
> error, please notify the sender urgently and then immediately 
> delete the message and any copies of it from your system. 
> Please also immediately destroy any hardcopies of the 
> message. You must not, directly or indirectly, use, disclose, 
> distribute, print, or copy any part of this message if you 
> are not the intended recipient. The sender's company reserves 
> the right to monitor all e-mail communications through their 
> networks. Any views expressed in this message are those of 
> the individual sender, except where the message states 
> otherwise and the sender is authorised to state them to be 
> the views of the sender's company. 
>       
>       
> ---------------------------------------------------------------------
>       The official User-To-User support forum of the Apache 
> HTTP Server Project.
>       See <URL:http://httpd.apache.org/userslist.html > for more info.
>       To unsubscribe, e-mail: [EMAIL PROTECTED]
>          "   from the digest: 
> [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> 
>       For additional commands, e-mail: [EMAIL PROTECTED]
>       
>       
> 
> 
> 
> 
> -- 
> Ignore Linux at your own risk 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to