httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Pettijohn <ed...@pettijohn.no-ip.biz>
Subject Re: [users@httpd] Rookie help raw html C modules
Date Mon, 22 Sep 2014 21:23:34 GMT
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@h3net.com <mailto:Billy.Patton@h3net.com>> 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
>     <http://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 <mailto:billy.patton@h3net.com>
>         DocumentRoot "/Users/bpatto/tool_box/www"
>         ServerName billy.sandbox.com <http://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
>     <mailto:users-unsubscribe@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <mailto:users-help@httpd.apache.org>
>
>


Mime
View raw message