installing/using phpMyAdmin

Pollywog lists-fbsd at shadypond.com
Sun Aug 19 09:17:42 PDT 2007


On Sunday 19 August 2007 15:02:04 Gerard wrote:
> On August 19, 2007 at 10:01AM Pollywog wrote:
> > I did but I think there is another problem somewhere, so for the time
> > being I will do without phpMyAdmin in FreeBSD.
>
> Could you post the relevant portions of the httpd.conf file?
>
> I have the following in mine and phpMyAdmin works fine.
>
> <IfModule alias_module>
> #
> # ScriptAlias: This controls which directories contain server scripts.
> # ScriptAliases are essentially the same as Aliases, except that
> # documents in the target directory are treated as applications and
> # run by the server when requested rather than as documents sent to the
> # client.  The same rules about trailing "/" apply to ScriptAlias
> # directives as to Alias.
> #
> Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"
>
 </IfModule>        <----------   Should the part below be above this tag?
>
> <Directory "/usr/local/www/phpMyAdmin/">
>    Options none
>    AllowOverride Limit
>    Order Deny,Allow
>    Deny from all
>    Allow from 127.0.0.1 192.168.1.102
> </Directory>
>
> You would undoubtedly have to modify your 'Allow from' line to
> accommodate your system.

I think where I went wrong is the configuration part that involves running a 
script in the browser.  in /usr/local/www/phpMyAdmin/scripts/


More information about the freebsd-questions mailing list