home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 106,699 of 107,822   
   Java Jive to J.O. Aho   
   Re: Running Apache On Ubuntu 22   
   04 Dec 24 17:30:19   
   
   XPost: uk.comp.os.linux   
   From: java@evij.com.invalid   
      
   On 2024-12-04 07:44, J.O. Aho wrote:   
   > On 03/12/2024 23.54, Java Jive wrote:   
   >> In previous versions of Ubuntu, I had the following working arrangement   
   >   
   > It's age ago I used apache, but still I think your setup is a bit odd...   
   > I'm assuming that all apache modules has been configured correctly and   
   > they load without errors.   
   >   
   >> for defining localhost subdomains as follows ...   
   >   
   >>   
   >> /etc/hosts:   
   >>   
   >> 127.0.0.1    localhost   
   >> 127.0.0.2    local.localhost   
   >> 127.0.0.3    publish.localhost   
   >   
   > I would have done:   
   >   
   > 127.0.0.1    localhost local.localhost publish.localhost   
   >   
   > they do not need their own ip, specially not for apache.   
   >   
   >   
   >> Note: In what follows, the files given below are links to files   
   >> actually in the sister directory sites-available, as per Apache   
   >> standard practice.  Further, I've removed all the comments and blank   
   >> lines to save space.   
   >>   
   >> /etc/apache2/sites-enabled/001-localhost.conf   
   >>   
   >>    
   >>      AllowOverride All   
   >>      Require all granted   
   >>    
   >   
   > If I remember it right, all the domains should be virtualhost when using   
   > virtual hosts, assign the ServerName to it too.   
   >   
   >    
   >    SeverName localhost   
   >    ...   
   >    
   >   
   >> /etc/apache2/sites-enabled/002-local.conf   
   >>   
   >>    
   >>      ServerName local.localhost   
   >>      DocumentRoot "/home/www/Local"   
   >>         
   >>          Options +Includes +Indexes +FollowSymLinks   
   >>          AllowOverride All   
   >>          Order allow,deny   
   >>          Allow from all   
   >>         
   >>         
   >>          Options +ExecCGI   
   >>         
   >>         
   >>          Options +ExecCGI   
   >>         
   >>    
   >   
   > I would use   
   >   
   >    
   >    SeverName local.localhost   
   >    ...   
   >    
   >   
   >>   
   >> /etc/apache2/sites-enabled/003-publish.conf   
   >>   
   >>    
   >>      ServerName publish.localhost   
   >>      DocumentRoot "/home/www/Publish"   
   >>         
   >>          Options +Includes +Indexes +FollowSymLinks   
   >>          AllowOverride All   
   >>          Order allow,deny   
   >>          Allow from all   
   >>         
   >>         
   >>          Options +ExecCGI   
   >>         
   >>         
   >>          Options +ExecCGI   
   >>         
   >>    
   >   
   >    
   >    SeverName publish.localhost   
   >    ...   
   >    
      
   Thanks, the above changes have worked.   
      
   Now trying to restore cgi-bin functionality  -  php is working, but perl   
   and python not.  Will post here if I need more help, meanwhile, thanks   
   again.   
      
   --   
      
   Fake news kills!   
      
   I may be contacted via the contact address given on my website:   
   www.macfh.co.uk   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca