Re: Apache server - Output to the same page whatever request

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

 





MierMier wrote:
> 
> Hey people, I need your help, thanks in advance!
> 
> I have an appche server 2.x. + PHP, And I woundered rather it is possible
> to output the same page (i.e. "a.php") for a request of whatever page.
> 
> I will give an examples:
> 
> if the client try to reach "/hello/index.php" (which do not really exist
> in the server)
> 
> Can apache just tell the client -> I return you that page
> (/hello/index.php) but infact, this page's content is "a.php"'s content.
> wiout 404 Errors and stuff?
> 
> Thanks again
> 
> Lior.
> 

Well thanks alot, but somhing went wrong, and after reading, still can't
understand why.

I have an Apache server server on my PC, based on WinXP, 

and when I use these in .htaccess

Options +FollowSymLinks 

RewriteEngine On 
RewriteRule ^.*$ /a.php [QSA] 

it works well.
How ever at my Linux apache server server it doesn't, it always show me 404
error, and the rewrite mod is enabled.

Any ideas?


-- 
View this message in context: http://www.nabble.com/Apache-server---Output-to-the-same-page-whatever-request-tp19904387p19980343.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


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


[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