httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patton, Billy" <Billy.Pat...@h3net.com>
Subject [users@httpd] Rookie help raw html C modules
Date Mon, 22 Sep 2014 15:42:20 GMT
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@h3net.com
    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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message