/opt/local/www vs. /opt/local/apache2/htdocs

Stephan Jaeger alterego at stephanjaeger.eu
Tue Apr 8 22:43:45 PDT 2008


Hiya,

I just installed apache2 and phpmyadmin, and was wondering why I  
couldn't get phpmyadmin up and running.

Then I realised that phpmyadmin was installed into /opt/local/www,  
whereas the DocumentRoot in apache2 was defined as /opt/local/apache2/ 
htdocs.

No problem to adjust the DocumentRoot to /opt/local/www, but wouldn't  
it be better to define the DocumentRoot per default to /opt/local/www,  
especially if this directory is defined in the documentation as  
default directory?

Thanks in advance for any clarification.

Best regards
Stephan
Hiya,

I just installed apache2 and phpmyadmin, and was wondering why I  
couldn't get phpmyadmin up and running.

Then I realised that phpmyadmin was installed into /opt/local/www,  
whereas the DocumentRoot in apache2 was defined as /opt/local/apache2/ 
htdocs.

No problem to adjust the DocumentRoot to /opt/local/www, but wouldn't  
it be better to define the DocumentRoot per default to /opt/local/www,  
especially if this directory is defined in the documentation as  
default directory?

Thanks in advance for any clarification.

Best regards
Stephan Jaeger


More information about the macports-users mailing list