php-general Digest 12 Jun 2013 16:02:03 -0000 Issue 8263

Topics (messages 321369 through 321372):

Re: htaccess to make html act as php suffixed files
        321369 by: Stuart Dallas
        321370 by: Matijn Woudt
        321371 by: Rodrigo Silva dos Santos

debugging remote PHP code in eclipse
        321372 by: Rafnews

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
On 11 Jun 2013, at 18:16, Tedd Sperling <t...@sperling.com> wrote:

> Hi gang:
> 
> To get html pages to use php scripts, I've used:
> 
> RewriteEngine on
> # handler for phpsuexec. -- this makes these prefixes considered for php
> <FilesMatch "\.(htm|html)$">
> SetHandler application/x-httpd-php
> </FilesMatch>
> 
> In a .htaccess file.
> 
> However, it works on one site, but not on another -- any ideas as to why?

At a rough guess there's an AllowOverride line in the main Apache config that's 
restricting what you can do in the .htaccess file.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

--- End Message ---
--- Begin Message ---
On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas <stu...@3ft9.com> wrote:

> On 11 Jun 2013, at 18:16, Tedd Sperling <t...@sperling.com> wrote:
>
> > Hi gang:
> >
> > To get html pages to use php scripts, I've used:
> >
> > RewriteEngine on
> > # handler for phpsuexec. -- this makes these prefixes considered for php
> > <FilesMatch "\.(htm|html)$">
> > SetHandler application/x-httpd-php
> > </FilesMatch>
> >
> > In a .htaccess file.
> >
> > However, it works on one site, but not on another -- any ideas as to why?
>
> At a rough guess there's an AllowOverride line in the main Apache config
> that's restricting what you can do in the .htaccess file.


Or the .htaccess usage is not enabled at all in that site.

--- End Message ---
--- Begin Message ---
Em Ter 11 Jun 2013 15:08:59 BRT, Matijn Woudt escreveu:
On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas <stu...@3ft9.com> wrote:

On 11 Jun 2013, at 18:16, Tedd Sperling <t...@sperling.com> wrote:

Hi gang:

To get html pages to use php scripts, I've used:

RewriteEngine on
# handler for phpsuexec. -- this makes these prefixes considered for php
<FilesMatch "\.(htm|html)$">
SetHandler application/x-httpd-php
</FilesMatch>

In a .htaccess file.

However, it works on one site, but not on another -- any ideas as to why?

At a rough guess there's an AllowOverride line in the main Apache config
that's restricting what you can do in the .htaccess file.


Or the .htaccess usage is not enabled at all in that site.


ALSO, you have to be sure this site is using apache. Otherwise, .htaccess are not available.
--- End Message ---
--- Begin Message ---
Hi everybody,

I have big trouble to correctly configure Eclipse/Xdebug to remotely debug a PHP website. When web server is local i have no problem, it works like a charm...but in case webserver is not local, that's a real nightmare.

till now everything what i found on internet was about settings for a local debugging. few are about remote debugging... and after reading them i still have trouble.... it's like something is missing...an important step...

so i would like to know if someone could help me.
If you already successfully setup eclipse/xdebug for a remote debugging, please let me know.

i feel like a local copy of website root folder must exist on my client computer but is it true ? how to configure eclipse to be sure it will run code with PHP server ?

so please, contact me if you already did it.

thx a lot

--- End Message ---

Reply via email to