2020-01-20 - Re: [GRASE-Hotspot] Apache configuration

Header Data

From: Charles Chambers <cc***2@gmail.com>
Message Hash: a7c33ac0e1ab4fc589afa0f63682b71ff7fdf682fa65b3a13163085e31327a38
Message ID: <45c69d30-640d-4b6d-ac65-fe22605de524@gmail.com>
Reply To: <009401d5cf97$37cd7240$a76856c0$@gmail.com>
UTC Datetime: 2020-01-20 07:15:00 UTC
Raw Date: Mon, 20 Jan 2020 07:15:00 -0700

Raw message

Take a look at archive.ubuntu.com/ubuntu/ <http://archive.ubuntu.com/ubuntu>

I'mma getting that squishy feeling from a permissions problem.  I put an
ubuntu.html page at /var/www/html/ubuntu, and I still get "Permission
denied" when I browse to http://192.168.0.200/ubuntu.

Charlie

==============

On 1/20/20 6:40 AM, Daniel Crusoe wrote:
>
> Hey Charles,
>
>  
>
> I am by no means a person that actually know what he is doing, but the
> /var/www/html/ directory is where the index.html file is located, I
> believe you would have to create an Ubuntu.html file for your link to
> work (192.168.0.200/Ubuntu) as it is connecting to the apache server
> and asking for a FILE that does not exist (you cannot share a
> directory as far as I know like you would in windows explorer, for
> that you would use samba) you could make an Ubuntu.html file with
> download links in it for the repo’s, but that is a later discussion,
> right now I suggest you create an html file named Ubuntu (maybe copy
> the index.html and rename it to Ubuntu and change the text inside)
>
>  
>
> Do you know html coding (I do mine through google searches, so I
> cannot help you there)?
>
>  
>
>  
>
> Hope this helps
>
>  
>
>  
>
> Daniel
>
>  
>
> *From:*Charles Chambers [mailto:cc***2@gmail.com]
> *Sent:* Monday, 20 January 2020 15:29
> *To:* di***n@gmail.com >> Daniel Crusoe <di***n@gmail.com>
> *Subject:* Fwd: [GRASE-Hotspot] Apache configuration
>
>  
>
> Pardon me.  I screwed that up slightly.
>
> Regardless of what I do, I'm getting Permission Denied at
> *192.168.0.200/ubuntu*.  192.168.0.200 serves out the default Apache2
> page no problem.
>
> I need to browse to 192.168.0.200/ubuntu and see an empty directory. 
> *Then* I can link the package repository to it and move on.
>
> Charlie
>
>  
>
>
>
> -------- Forwarded Message --------
>
> *Subject: *
>
> 	
>
> Re: [GRASE-Hotspot] Apache configuration
>
> *Date: *
>
> 	
>
> Mon, 20 Jan 2020 06:23:28 -0700
>
> *From: *
>
> 	
>
> Charles Chambers <cc***2@gmail.com> <mailto:cc***2@gmail.com>
>
> *To: *
>
> 	
>
> Daniel Crusoe <di***n@gmail.com> <mailto:di***n@gmail.com>
>
>
>
> Hi, Daniel:
>
> I actually would like to use it for something different.  It's on a
> computer that possesses a copy of the Ubuntu package repository. 
>
> I need to map /var/www/html/ubuntu (?) to http://192.168.0.200/ubuntu,
> so that the box can serve out a copy of the Ubuntu package repository.
>
> Regardless of what I do, I'm getting Permission Denied at 192.168.0.200,
> before I soft link the package repository to it.
>
> Any ideas?
>
> Charlie
>
> =============
>
>
>
> On 1/20/20 6:14 AM, Daniel Crusoe wrote:
>
>     Hello Charlie,
>
>     I noticed this issue as well on my setup. So I just setup a
>     redirect. I went to /var/www/html/index.html and put the following
>     in there:
>
>
>     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>     <http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>>
>     <html xmlns="http://www.w3.org/1999/xhtml"
>     <http://www.w3.org/1999/xhtml>>
>     <head>
>     <title>hope it works</title>
>     <meta http-equiv= "Refresh" content= "2; url=//10.1.0.1/grase/uam" />
>     </head>
>     <body>
>     <p> Nope not this way </p>
>     <p> Loading login screen </p>
>     </body>
>
>
>     </html>
>
>
>     It pauses for 2 seconds, showing "nope not this way" and "loading
>     login screen" and then forwards the client to the correct login
>     prompt... you can (as far as I know) put whatever you like here.
>     Personally I just wanted my clients to be redirected to the login.
>
>     Hope this helps
>     Daniel Crusoe
>
>
>
>
>     -----Original Message-----
>     From: Charles Chambers [mailto:cc***2@gmail.com] Sent: Monday, 20
>     January 2020 14:58
>     To: Grase Hotspot <gr***t@grasehotspot.org>
>     <mailto:gr***t@grasehotspot.org>
>     Subject: [GRASE-Hotspot] Apache configuration
>
>     I notice that the LAN IP of the hotspot (mine comes up at
>     192.168.0.200) has a default instance of Apache running on it. Two
>     questions:
>
>     1) Is this by design? Not that *I* want to, but can it be blocked?
>
>     2) I can browse to it from any admin machine on the LAN (my main
>     admin workstation is at 192.168.0.4). What exactly would be the
>     collection of configuration files for that instance of Apache? I'm
>     sure they are not the same collection of configuration files
>     running the hotspot interface...
>
>
>     Charlie
>
>  
>

Thread