Re: Rookie help raw html C modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks
On Sep 22, 2014, at 4:23 PM, Edgar Pettijohn <edgar@xxxxxxxxxxxxxxxxxxx> wrote:

Also make sure you reload your browser also.  It may be displaying a cached copy.

On 09/22/2014 02:37 PM, Ryan wrote:
Make sure you're restarting your web server with `sudo apachectl restart`.  Your config files are only loaded when the server is started, you need to restart if you make changes.

On Mon, Sep 22, 2014 at 11:42 AM, Patton, Billy <Billy.Patton@xxxxxxxxx> wrote:
I’m sure this is going to be an obvious question.
I’m new to the WEB stuff, I’ve spent the last 30+ years in the semi-conductor industry. No web stuff at all.

I’ve installed Apache 2.2.26 on my MAC Powerbook, along with @ 20 packages that had to be installed :)
They are registered in the https.config
I’ve set up a virtual host.

In my browser I enter
localhost:80
and I get “It works!”
As a virtual host I have enterend billy.sandbox.com
When I enter this in Chrome I get
“It works!”

In my virtual host file I have
<VirtualHost *:80>
    ServerAdmin billy.patton@xxxxxxxxx
    DocumentRoot "/Users/bpatto/tool_box/www"
    ServerName billy.sandbox.com
    ServerAlias billy.sandbox
    ErrorLog "/Users/bpatto/tool_box/www/logs/sandbox_error.log"
    CustomLog "/Users/bpatto/tool_box/www/logs/sandbox_custom.log" common
</VirtualHost>

At /Users/bpatto/tool_box/www/index.html I have simple
<html><body><h1>Billy</h1></body></html>

When I execute, in Chrome
http://billy.sandbox.com/index.html
I get
It works!


As for my C example I took it from a page supplied by Uncle Google, which I have search for MANY hours.
All come to the same information, all good, but lacking that last bit of the puzzle for me.

I get the module compiled, installed, registered.
When I do hhtp -M my module shows up by the name I gave it in httpd.config
LoadModule example_module lib exec/apache2/mod_example.so


I believe I’m just one small step to getting this door to open, but I’ve hit MANY different sites on How-To.
I’m probably still not doing the correct search.
It’s that tie in between the server and the browser that I cannot dig out.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux