Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Stephen
On 15-06-07 04:22 PM, Yann Ylavic wrote: On Sun, Jun 7, 2015 at 10:12 PM, Yann Ylavic wrote: On Sun, Jun 7, 2015 at 5:44 PM, Stephen wrote: Thank you. adding the file extension allowed some progress to be made. Not I get this in my browser: Forbidden You possibly need to give rights to /h

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Yann Ylavic
On Sun, Jun 7, 2015 at 10:12 PM, Yann Ylavic wrote: > On Sun, Jun 7, 2015 at 5:44 PM, Stephen wrote: >> Thank you. adding the file extension allowed some progress to be made. >> >> Not I get this in my browser: >> >> Forbidden > > You possibly need to give rights to /home/stephen/www, eg: > > >

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Yann Ylavic
On Sun, Jun 7, 2015 at 4:17 PM, Stephen wrote: > > In my virtual-sites file I have: > > > ServerAdmin webmaster@localhost > DocumentRoot /home/stephen/www/roissy.ca/public_html > ServerName www.roissytest.ca > ErrorLog /home/stephen/www/roissy.ca/public_html/error.log > Transf

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Yann Ylavic
On Sun, Jun 7, 2015 at 5:44 PM, Stephen wrote: > Thank you. adding the file extension allowed some progress to be made. > > Not I get this in my browser: > > Forbidden You possibly need to give rights to /home/stephen/www, eg: Options Indexes FollowSymLinks AllowOverride None Requir

Re: [users@httpd] mod_headers: REQUEST_URI for static files

2015-06-07 Thread Yann Ylavic
On Sun, Jun 7, 2015 at 1:24 PM, Christian Weiske wrote: > > $ curl -I example.org/ > ... > Link: ; rel="self" > > But I do not get the original request URI ("/" only), which is what I'm > looking for. If you want the original URI instead of the DirectoryIndex, you pr

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Yehuda Katz
Ubuntu 14.04 ships with Apache 2.4 instead of 2.2. The configuration directives for permission for Apache to access directories changed. Check all of the files in /etc/apache2 for the directives mentioned here: http://httpd.apache.org/docs/2.4/upgrading.html#run-time and make the appropriate change

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Stephen
Thank you. adding the file extension allowed some progress to be made. Not I get this in my browser: Forbidden You don't have permission to access / on this server. Apache/2.4.7 (Ubuntu) Server at www.roissytest.ca Port

[users@httpd] Incorrect links in autoindex files in a reverse proxy setup

2015-06-07 Thread Bjoern Voigt
To make user access to Web and WebDAV services easier, I try to collect all services on one public server for one of my customers. Some internal servers act as WebDAV servers. All servers run with Apache 2.4. Access to WebDAV service of "other-server" (https://other-server/webdav/) from public se

Re: [users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Yehuda Katz
Ubuntu changed the configuration to require config files end with ".conf". You didn't give the full path, but since you said "In my virtual-sites file", I was guessing that was /etc/apache2/sites-enabled/virtual-sites (or conf.d/virtual-sites) which would need to be renamed in order to be loaded un

[users@httpd] Problem with accessing Document Root (?)

2015-06-07 Thread Stephen
Background I run Ubuntu. I have run a LAMP server for a number of years for my web development. Never had any problems. Installed using the Synaptic package manager. I use virtual hosting. My development site's file structure mirrors my public server's file structure. My hosts file directs

Re: [users@httpd] mod_headers: REQUEST_URI for static files

2015-06-07 Thread Christian Weiske
Hello Yann, > > I'm trying to do that with mod_header and the following > > configuration: > >> Header append Link '; > >> rel="self"' > > You could use %{REQUEST_URI}s (a trailing s instead of e) if mod_ssl > is loaded (LoadModule). > That will only use the va