Re: apache doc folder permissions problem

2021-06-13 Thread Bill Cole

On 2021-06-13 at 11:47:53 UTC-0400 (Sun, 13 Jun 2021 11:47:53 -0400)
Murray Eisenberg 
is rumored to have said:


ls -ld Sites
drwxr-xr-x@ 18 me  staff  576 Feb 27 10:37 Sites


4 thoughts:

1. The '@' indicating the existence of extended attributes could be 
overriding the '+' that is shown on files with extended ACLs, so any 
level in the directory tree COULD have an ACL blocking the webserver 
from reading the files or scanning the directories. Check with 'ls -le' 
to be sure. This would be a simple but unlikely cause of the problem.


2. Check the error logs for details of the failure. There is a 
vhost-specific error log defined, but there should also be a server-wide 
error log which may contain illuminating entries.


3. Check the main httpd.conf for Directory or Location directives that 
may be interfering with the Directory directives in the VirtualHost 
definition.


4. Make sure you don't have anything automatically 'upgrading' you to 
HTTPS. This can be in the server config or in a browser setting.


On 12 Jun2021, at 8:37 PM, Jeff Greenberg 
 wrote:


How about the permissions on the Sites folder?

On Jun 12, 2021, at 20:24, Murray Eisenberg 
 wrote:


For the Macports apache2 installation, I’m using a non-default 
location for my web sites. The httpd.conf includes a 
httpd-vhosts.conf file, and the latter includes entries such as:



DocumentRoot "/Users/me/Sites/MyHomePage"
ServerName MyHomePage.local
ServerAlias www.MyHomePage.local 
ErrorLog  "var/log/apache2/me-MyHomePageerror_log"
CustomLog "var/log/apache2/me-MyHomePage-access_log" common

   Options Indexes FollowSymLinks
   Require all granted
   


And in my /private/etc/hosts I include the lines:

127.0.0.1   localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1   me-html.local
127.0.0.1   MyHomePage.local

When I start apache and try to open the site MyHomePage.local, i get 
error:


Forbidden You don't have permission to access this resource.

The permissions on /Users/me/Sites/MyHomePage are:

drwxr-xr-x@ 92 me  staff 2944 Apr 10 2015 MyHomePage

and the permissions for /Users/me/Sites/MyHomePage/index.html are:

-rw-r--r--@ 1 me  staff 8331 Apr 10 2015 index.html

What’s wrong?



--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: apache doc folder permissions problem

2021-06-13 Thread Murray Eisenberg
ls -ld Sites
drwxr-xr-x@ 18 me  staff  576 Feb 27 10:37 Sites

> On 12 Jun2021, at 8:37 PM, Jeff Greenberg  
> wrote:
> 
> How about the permissions on the Sites folder?
> 
> On Jun 12, 2021, at 20:24, Murray Eisenberg  wrote:
> 
> For the Macports apache2 installation, I’m using a non-default location for 
> my web sites. The httpd.conf includes a httpd-vhosts.conf file, and the 
> latter includes entries such as:
> 
> 
> DocumentRoot "/Users/me/Sites/MyHomePage"
> ServerName MyHomePage.local
> ServerAlias www.MyHomePage.local 
> ErrorLog  "var/log/apache2/me-MyHomePageerror_log"
> CustomLog "var/log/apache2/me-MyHomePage-access_log" common
> 
>Options Indexes FollowSymLinks
>Require all granted
>
> 
> 
> And in my /private/etc/hosts I include the lines:
> 
> 127.0.0.1 localhost
> 255.255.255.255   broadcasthost
> ::1 localhost 
> fe80::1%lo0   localhost
> 127.0.0.1 me-html.local
> 127.0.0.1 MyHomePage.local
> 
> When I start apache and try to open the site MyHomePage.local, i get error:
> 
>   Forbidden You don't have permission to access this resource.
> 
> The permissions on /Users/me/Sites/MyHomePage are:
> 
>   drwxr-xr-x@ 92 me  staff 2944 Apr 10 2015 MyHomePage
> 
> and the permissions for /Users/me/Sites/MyHomePage/index.html are:
> 
>   -rw-r--r--@ 1 me  staff 8331 Apr 10 2015 index.html
> 
> What’s wrong?
> ---
> Murray Eisenberg  murrayeisenb...@gmail.com 
> 
> 503 King Farm Blvd #101   
> Rockville, MD 20850-6667  Mobile (413)-427-5334
> 
> 

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 
Rockville, MD 20850-6667Mobile (413)-427-5334




Re: Updating spice-gtk blocked for the last four months

2021-06-13 Thread Ralph Seichter
Thanks for investigating this. With the latest changes by Renee Otten I
was able to update spice-gtk and virt-manager on my machine. The attempt
to open an existing QEMU VM in virt-manager results in the error message
shown below, for which I should probably open a separate bug report.
Still, it is progress of sorts, so thanks again.

{{{
Error launching details: could not get a reference to type class

Traceback (most recent call last):
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/virt-manager/virtManager/vmwindow.py",
 line 40, in get_instance
cls._instances[key] = vmmVMWindow(vm)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/virt-manager/virtManager/vmwindow.py",
 line 82, in __init__
self._details = vmmDetails(self.vm, self.builder, self.topwin,
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/virt-manager/virtManager/details/details.py",
 line 397, in __init__
self._xmleditor = vmmXMLEditor(self.builder, self.topwin,
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/virt-manager/virtManager/xmleditor.py",
 line 44, in __init__
self._init_ui()
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/virt-manager/virtManager/xmleditor.py",
 line 69, in _init_ui
self._srcview = GtkSource.View()
TypeError: could not get a reference to type class
}}}