httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patton, Billy" <>
Subject Re: [users@httpd] Rookie help raw html C modules
Date Tue, 23 Sep 2014 12:03:44 GMT
On Sep 22, 2014, at 4:23 PM, Edgar Pettijohn <<>>

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 <<>>
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
and I get “It works!”
As a virtual host I have enterend<>
When I enter this in Chrome I get
“It works!”

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

At /Users/bpatto/tool_box/www/index.html I have simple

When I execute, in Chrome
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/

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:<>
For additional commands, e-mail:<>

View raw message