You are here: Re: What to do to get phppgadmin working? « PHP Programming Language « IT news, forums, messages
Re: What to do to get phppgadmin working?

Posted by Jerry Stuckle on 11/01/05 00:28

7 wrote:
> Shane wrote:
>
>
>>On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:
>>
>>
>>>Tezza wrote:
>>>
>>>
>>>>By default, Apache requires you to add the trailing slash at the end of
>>>>a URL if you want to access a directory. For instance
>>>>
>>>>http://localhost/phppgadmin/
>>>>
>>>>instead of
>>>>
>>>>http://localhost/phppgadmin
>>>
>>>
>>>did not work unfortunately, the /var/www/ directory
>>>does not contain anything related to phppgadmin
>>>(after installation) for anything like that to work.
>>>(The php4 is working as I can run test scripts.)
>>
>>the folder needs to be in /var/www/htdocs/
>>As a workaround
>>ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin
>>
>>however, read the docs, there might be a reason for the way they have
>>installed
>>also, you could edit httpd.conf
>>
>>HTH
>
>
>
> It gets curios by the minute - I didn't try above, but I did
> find the /etc/apache2/conf.d/phpgadmin link
> to file /etc/phppgadmin/apache.conf and it says in there
>
> Alias /phppgadmin /usr/share/phppgadmin/
> <DirectoryMatch /usr/share/phppgamin/>
>
> Which I assume means that
> http://localhost/phppgadmin/
> should map to the /usr/share/phppgadmin/ directory
> and the default index.php file installed there should run.
>
> But no such luck!
> http://localhost/phppgadmin/index.php does not work either.
>

Try

Alias /phppgadmin/ /usr/share/phppgadmin/

Match your trailing slashes!


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация