[Gllug] php, Apache and relative paths.

gllug at uncertainty.org.uk gllug at uncertainty.org.uk
Sun Jan 20 16:59:18 UTC 2002


On Sun, Jan 20, 2002 at 10:38:56AM +0000, Lucy Bartosik wrote:
> I have an apache config for a secure area as below.  Other than this it
> is a standard Red Hat delivered config.
> 
> In php scripts I am unable to use relative paths for links in the
> password protected area.  I therefore have to put the full path in which
> will slow matters down considerably.
> 
> Does anyone have any ideas?
> 
> Have I posted enough of the apache config to be helpful?
> 

what happens when you try to use relative paths ?



> 
>         </Directory>
>         <Directory /var/www/ukadis/htdocs/secure>
>         AuthName "UKADIS Members area"
>         AuthUserFile /var/www/ukadis/ukadis.htaccess
>         AuthType Basic
>         <Limit GET>
>         require valid-user
>         </Limit>
>         </Directory>
> 	</VirtualHost>
> 
> TIA.
> 
> Lucy.
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list