|
Posted by Jerry Stuckle on 11/01/05 02:33
7 wrote:
> Jerry Stuckle wrote:
>
>
>>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!
>
>
>
> No luck still.
> Tried many different combinations, including putting the
> commands into apach2.conf and restarting apache
> every time - still nothing.
>
>
It should work.
At this point I suggest you ask in the Apache mailing lists. It doesn't
look to be a PHP question - rather it looks like Apache configuration.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|