Re: Apache conf accepting special get parameter [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 1/16/07, Nick Kew <nick@xxxxxxxxxxxx> wrote:
On Tue, 16 Jan 2007 12:06:52 +0100
"Rubén Rubio" <tk421.1@xxxxxxxxx> wrote:


> 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.

AcceptPathInfo


I didn't fintd this directive anywere

But now its working fine. 

I ll pwrite down the solution if someone has the same trouble with plesk

1) I have created vhost.conf in /var/www/vhosts/yourdomain.com/conf
2) Execute /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com
3) edit vhosts.conf

My Content:

RewriteEngine on
#RewriteLogLevel 1
RewriteRule ^/restaurante\.php(/id/[0-9]*.htm) /restaurante.php?kk=$1
RewriteRule ^/lista\_restaurantes\.php/(.*) /lista_restaurantes.php?kk=/$1

5) restart / reload / graceful apache
/etc/init.d/httpd
graceful


Authouth it has been parched, the problem was not solved.

Thanks a lot for all responses.



Thanks a lot

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Ignore Linux at your own risk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux