Meta tags:
description= Posts about apache written by William Buell;
Headings (most frequently used words):
ubuntu, blog, apache, william, buell, the, category, on, stats, cloud, archive, for, daily, posts, twitter, calendar, my, links, pages, categories, tag, blogroll, interesting, line, publications, google, plus, flickr, photos, meta, open, source, movement, 2nd, attempt, multiple, local, sites, apache2, sending, email, from, php, in, desktop, path, question, restart,
Text of the page (most frequently used words):
the (153), and (89), that (53), www (50), php (49), you (49), var (43), for (39), with (28), williambuell (26), from (25), but (24), proj1 (24), have (23), not (22), will (22), html (21), postfix (20), folder (19), report (18), #apache (18), can (18), then (18), this (17), ubuntu (17), file (17), sudo (16), what (16), want (15), localhost (15), com (14), mysql (14), ini (14), which (14), http (13), tutorial (13), etc (13), desktop (13), path (13), know (13), sendmail (13), some (13), create (12), software (12), all (12), need (12), make (12), work (11), there (11), default (11), chown (11), blog (10), apache2 (10), directory (10), would (10), only (10), like (10), irc (9), free (9), see (9), open (9), main (9), first (9), log (8), now (8), pages (8), command (8), did (8), question (8), are (8), support (8), other (8), org (8), oss (8), william (7), buell (7), about (7), because (7), terminal (7), was (7), should (7), here (7), into (7), usr (7), above (7), head (7), any (7), book (7), beginner (7), source (6), linux (6), programming (6), stuff (6), restart (6), projects (6), does (6), bryan (6), test (6), they (6), folders (6), syslog (6), step (6), local (6), where (6), gnu (6), wubi (5), install (5), facebook (5), 2009 (5), tags (5), posted (5), comment (5), following (5), browser (5), out (5), well (5), put (5), different (5), when (5), sasl (5), configuration (5), debian (5), very (5), correct (5), example (5), name (5), how (5), get (5), rights (5), navigate (5), just (5), simple (5), dont (5), why (5), project (5), access (5), same (5), address (5), bazaar (5), google (4), place (4), history (4), polychem (4), blogging (4), philosophy (4), leave (4), one (4), something (4), home (4), testwww (4), current (4), look (4), channel (4), found (4), also (4), find (4), files (4), chroot (4), may (4), require (4), note (4), dev (4), your (4), smtp (4), gedit (4), external (4), sendmail_path (4), sbin (4), root (4), understand (4), each (4), sure (4), able (4), mkdir (4), several (4), whether (4), cathedral (4), wordpress (3), more (3), line (3), malware (3), twitter (3), technology (3), verizon (3), teaching (3), religion (3), poetry (3), law (3), education (3), blackberry (3), antivirus (3), literature (3), internet (3), government (3), mail (3), windows (3), use (3), init (3), november (3), lassehavelund (3), sites (3), enabled (3), config (3), copy (3), link (3), issue (3), looks (3), second (3), mean (3), search (3), type (3), run (3), lamp (3), post (3), steps (3), proxy (3), upstream (3), chrooted (3), daemons (3), daemon (3), socket (3), add (3), share (3), between (3), client (3), original (3), changes (3), field (3), system (3), might (3), win32 (3), change (3), always (3), answers (3), code (3), exercises (3), saying (3), session (3), sense (3), aha (3), without (3), yeah (3), gives (3), gui (3), once (3), proper (3), user (3), concept (3), yes (3), both (3), trying (3), them (3), excellent (3), thanks (3), help (3), could (3), exercise (3), sign (2), subscribed (2), subscribe (2), already (2), account (2), comments (2), rss (2), entries (2), photos (2), flickr (2), function (2), widget (2), stats (2), nature (2), educational (2), wifi (2), war (2), sprint (2), south (2), seaport (2), parenting (2), paltalk (2), military (2), linkedin (2), librivox (2), happiness (2), gimp (2), freedom (2), ethernet (2), art (2), cloud (2), uncategorized (2), theology (2), spirituality (2), science (2), psychology (2), politics (2), nyc (2), movies (2), medicine (2), life (2), ethics (2), essay (2), dialogue (2), category (2), amity (2), high (2), holy (2), new (2), company (2), chat (2), policy (2), procedure (2), daily (2), links (2), posts (2), virtualhost (2), documentroot (2), allow (2), conf (2), give (2), making (2), progress (2), leads (2), believe (2), hence (2), order (2), working (2), compile (2), time (2), under (2), someone (2), told (2), said (2), too (2), simply (2), edit (2), index (2), execute (2), those (2), whenever (2), installed (2), gmail (2), helpful (2), dynamically (2), loadable (2), maps (2), service (2), map (2), types (2), inside (2), complex (2), unable (2), package (2), rsyslog (2), spool (2), inetutils (2), syslogd (2), supported (2), though (2), ipv6 (2), comes (2), rather (2), seems (2), doc (2), thing (2), save (2), services (2), had (2), think (2), edited (2), server (2), relayhost (2), smtpauth (2), earthlink (2), net (2), choice (2), since (2), required (2), unix (2), supply (2), arguments (2), sendmail_from (2), php5 (2), synaptic (2), ubuntuforums (2), showthread (2), password (2), ever (2), back (2), email (2), multiplenamehost (2), questions (2), straight (2), through (2), great (2), hand (2), enough (2), else (2), words (2), hard (2), going (2), yep (2), paths (2), right (2), say (2), ownership (2), everything (2), let (2), correctly (2), old (2), total (2), cheat (2), key (2), works (2), permissions (2), matter (2), automatically (2), within (2), cannot (2), whatismyip (2), turns (2), administration (2), articles (2), 412 (2), multiple (2), answer (2), remote (2), raw (2), person (2), asked (2), week (2), wanted (2), trick (2), cloned (2), entered (2), come (2), prefixed (2), table (2), phpmyadmin (2), record (2), sink (2), executing (2), kind (2), gave (2), his (2), unesco (2), america (2), opinion (2), promote (2), usage (2), cooperation (2), movement (2), has (2), world (2), collapse, bar, manage, subscriptions, view, site, reader, content, privacy, xfn, valid, xhtml, meta, createelement, getelementsbytagname, async, src, socialstatistics, min, parentnode, insertbefore, document, script, plus, monthly, review, publications, spreading, via, charles, beard, democratic, jeffersonian, democracy, stories, narrative, cronon, interesting, kim, ventures, blogroll, wisdom, street, soundcloud, socrates, skype, shortstory, sartre, rushdie, rumi, poem, plato, philokalia, online, armor, morality, michael, moore, maimonides, kung, koan, islam, homework, gnome, gimptricks, frankl, firewall, faith, existentialism, evolution, euthyphro, compassion, clipperz, christianity, capitalism, camus, bible, backup, avira, antivir, anti, virus, tag, zoho, youtube, yola, writing, adapter, website, vocabulary, dsl, television, telephone, talk, soul, slang, shorts, short, story, shell, sexual, orientation, security, scribus, scams, romance, reminders, 166, recipe, pynchon, pwp, purchases, poets, 119, photoshop, photography, passwords, pants, labrets, networking, netflix, microsoft, memorable, mathematics, mandarin, limb, mp3, journalism, jobs, investment, indies, identity, theft, humor, guns, grammar, wave, forums, firewalls, 384, etymology, entertainment, economics, ecology, dreams, cpap, costco, comedy, clothing, census, catholic, bush, bookstore, finds, bollywood, biology, belts, bands, ayn, rand, anthropology, categories, racebrook, orange, 6th, grade, junior, senior, john, college, corp, trinity, monastery, transfiguration, university, haven, computer, almy, dept, store, northeastern, wallpaper, market, forge, american, aluminum, stone, webster, revisited, guttman, institute, elderplan, porter, consulting, diamond, district, factory, outlets, karebac, lot, chit, biography, contact, info, handbook, golden, rules, administrative, assistantance, 933, reads, posterous, profile, halloween, pics, feb, august, 2026, calendar, tweets, readgreatbooks, stop, start, servername, options, indexes, aye, menza, sound, familiar, blah, domain, far, seem, executes, slight, created, discover, perhaps, becomes, issuing, theory, controls, many, aspects, behavior, read, must, named, designated, environment, variable, phprc, defined, looked, overridden, using, argument, mode, kubuntu, much, probably, documented, took, directoryindex, otherfile, ext, httpd, doc_root, drive, suppost, holding, applications, guarantee, properly, invoked, such, css, executed, launch, calles, successfully, another, details, behindmyscreen, newsvine, _news, 2006, 501615, configuringubuntu, 101, easy, known, caveats, modules, therefore, appropriate, shared, object, master, extra, beyond, indicates, simplest, solution, bit, todo, list, before, chrooting, restarted, reconnect, being, provides, snipped, after, restarting, configure, additional, sysklogd, versions, prior, lenny, syslogd_opts, reasons, goes, myhostname, used, smtp_line_length_limit, defaults, instead, 990, absolute, violation, rfc, mailers, still, potentially, split, removed, point, future, listens, ipv4, inet_protocols, tls, rmail, delivered, dist, than, cluttering, significant, differences, packages, readme, none, tls_readme, information, enabling, ssl, mentioned, chage, course, close, reopen, mine, smpt, during, installation, chose, hover, mouse, over, tool, tip, explain, choices, noticed, offered, stuck, idea, smtp_port, relevant, lines, mgr, remove, worked, apt, 331137, prompts, superadmin, revert, located, possibly, lib, 135397, sending, reilly, reality, getting, techie, pulling, teeth, series, moron, btw, ebook, started, 1979, 1980s, cobol, rpg, basic, pick, background, interested, buying, tomorrow, downloaded, zip, publisher, called, including, cookie, sessions, germain, starts, posting, hint, anything, develop, move, somewhere, specific, addresses, quite, url, correspond, makes, act, launching, sufficient, entier, telling, asking, basically, loads, bunch, explicit, configs, brain, wont, mess, locally, honkey, dory, away, cant, wnat, guys, suggested, owning, try, doesnt, unless, admin, creat, own, whatever, nothing, changing, year, hints, truly, lost, sounds, fussing, talking, follow, along, except, next, needed, honor, proj2, suppose, tutorials, shouldn, most, likely, page, ifconfig, mentions, indicate, clear, reach, clues, ipconfig, internal, set, websites, detailed, says, illustrate, sort, technically, savvy, notice, last, thought, business, separate, unnecessary, purposes, leaves, important, creating, doing, front, soon, dawned, upon, were, copied, went, actually, saw, version, data, pressed, submit, bingo, signed, sql, tell, realize, recognize, until, certain, concepts, showed, two, word, inserted, these, somehow, added, database, saved, hours, grief, made, possible, rapid, pay, paperback, take, bathroom, subway, really, become, reason, sick, tired, years, bondage, micr0, oft, products, worse, visual, foxpro, finally, dropped, product, figure, best, whats, tons, documentation, forum, patient, feedback, valuable, guidance, follows, text, sorted, achieve, goals, remains, mind, unchanges, honoring, defeat, purpose, developing, transparently, moving, location, shall, invoke, 1st, application, typing, having, given, myself, withing, machine, keep, convenience, december, 2nd, attempt, result, wikipedia, wiki, linux_adoption, thinking, please, points, missed, institutions, adoption, never, fulfill, aim, developers, international, organization, laptop, per, child, olpc, bothering, development, means, every, built, together, care, catb, esr, writings, money, offering, flexibility, design, eric, raymond, better, imagine, everybody, circumstances, people, difficulties, knowledge, richard, stallman, president, write, definition, call, ourself, advocate, role, today, clearly, importance, everyone, giri, writes, january, 2010, archive, seek, position, 30k, day, shift, unpaid, problem, hour, commute,
Text of the page (random words):
nswer until certain concepts sink in once i did the chown trick you showed me then i could navigate with the gui to var www and create a folder proj1 then i could navigate to my desktop to a folder where i put two of the head first exercises but with the word test inserted in each field so i would know that it was these executing and that i was not somehow executing the same original pages in var www now i could not get desktop testwww report html to run and then correctly post with report php and see the added record in the mysql database with phpmyadmin but as soon as it dawned upon me the simple steps you were saying i copied to cloned files to var www proj1 went to my folder and entered localhost report html actually saw the cloned version come up with test prefixed to each field i entered data prefixed by test so i would see it in the mysql table pressed submit and bingo when i did localhost phpmyadmin and signed in there was the new record in the sql table so you see for a beginner the head first book leaves out a very important concept about creating folders for projects in var www and doing the chown trick once up front to allow access thanks and as you will notice from my blog when i asked the same question in irc last week someone thought that i wanted to do that http www debian administration org articles 412 complex business which was correct if i wanted to access separate projects from some remote client but unnecessary for my simple desktop purposes and here is the raw irc chat to illustrate what a beginner may have to do to sort out the proper answers from a technically savvy person trying to help i am trying to set up several websites on my desktop ubuntu under apache 2 and i have a detailed tutorial but it says i need my ip address but sudo ipconfig gives me an internal and whatismyip com gives me an external any clues as to which is required thanks 04 08 williambuell what ip address where do you want to reach them from the answer as it turns out which i did not make clear to the irc channel is that i only want to make this stuff work from my desktop not from some remote client on the internet which might require some ip address 04 08 thanks i am following this excellent tutorial on apache2 multiple sites http www debian administration org articles 412 04 09 i have ubuntu desktop with lamp installed but can only get php pages to work in var www 04 09 i want to be able to have several projects i e home proj1 04 09 williambuell that s where they should go 04 09 why not put them in var www this turns out to be an excellent question 04 10 the tutorial mentions ip address but does not indicate whether it is external from whatismyip com or local from sudo ifconfig 04 10 because i would need a different name for each html and php page 04 10 williambuell where are you trying to access them from you shouldn t need an ip address at all most likely 04 11 suppose i am following several tutorials with several pages with same name they cannot both be in var www 04 11 why not var www proj1 var www proj2 04 11 and i dont know how to access some search path that would support var www proj1 04 12 or does apache2 lamp automatically honor any folder within www 04 12 yes automatically http localhost folder above is the key concept that i needed 04 12 and if so i am total beginner aha localhost folder seems to make sense to me 04 13 next question in terminal does it matter how i create those folders i mean do i have to be sudo or root 04 13 do permissions matter 04 13 what would the proper command be to create the folder in var www would it be mkdir home www www example com 04 14 with sudo mkdir home www www example com 04 14 except it would be sudo mkdir var www www example com 04 14 if i follow along with this one tutorial 04 15 but that tutorial is talking about multiplenamehost 04 15 williambuell you can cheat and do sudo chown user var www the above is the other key concept that i require and if it works then i can navigate in a gui file folder system and create project folders at will without fussing with sudo permissions 04 15 it sounds like you are saying if i simply create a folder in var www proj1 that it will work from localhost proj1 04 15 williambuell only on a desktop though 04 16 williambuell correct 04 16 i am a 60 year old total beginner so i dont need hints like you can cheat i am truly lost 04 17 so i should say from terminal sudo chown bryan var www but how do i make the folder proj1 04 17 i mean the chown command is changing rights or something 04 17 chown changes the ownership of the file 04 17 nothing else 04 17 williambuell oh one you own the folder you can go into var www and make whatever you want 04 18 in other words from terminal what is the command to correctly creat var www proj1 with all the proper user rights for apache2 to work 04 18 but whenever i go into var www it doesnt let me do stuff i dont think unless i am root admin 04 18 williambuell the support here is not too great might want to try a support channel 04 18 williambuell yeah that s why i suggested owning the folder 04 18 yeah but you guys know this like the back of your hand 04 19 once you do that you can mkdir in var www all you wnat 04 19 and you just cant give a beginner the command to create the folder 04 19 williambuell if we did we would have told you straight away 04 19 so you say create the folder and then use chown to change ownership 04 19 and then everything will be honkey dory ok 04 19 williambuell no chown var www then you can create all the folders you want without sudo 04 21 ok so sudo chown bryan var www gives me the rights then i should be able to navigate with the gui and create proj1 04 21 williambuell yep 04 21 aha now that is making sense to this beginner brain 04 22 and i wont need to mess with that other tutorial 04 22 since i only want stuff to work locally 04 22 williambuell right no apache configs 04 23 but second question if i make a bunch of php html pages in var www proj1 do i need explicit paths to the other pages or will they default to that local directory 04 23 and is there some command i need to issue to make var www proj1 a local directory for that session 04 23 williambuell not sure i m following 04 23 williambuell not sure you re sure what you re asking 04 24 http localhost basically loads what s in var www 04 24 ok you are telling me if i do all this then from browser i type localhost proj1 report html and it comes up 04 24 yep 04 24 but inside report html it is going to post to report php 04 24 if you have var www proj1 report html 04 24 yeah default is current folder 04 24 but it will know enough to look in var www proj1 without 04 25 well it looks in http localhost proj1 report php 04 25 or rather posts to 04 25 aha and the very act of launching the project as localhost proj1 is sufficient to make that the local directory for the entier project session 04 25 which should correspond to var www proj1 report php 04 25 if so that makes sense 04 25 williambuell not sure you quite get url vs local path 04 25 it s not for the session 04 25 in other words i dont have to hard code specific addresses in each html and php 04 26 that s just how it it 04 26 williambuell that you have to do 04 26 i want to develop something in var www proj1 test it but have it work if i move it somewhere else 04 26 williambuell why not just have a php file 04 26 why have anything html 04 26 well i dont know enough to understand your hint 04 26 williambuell a php file can have html and php in it 04 27 because the tutorial book i am following starts with report html posting with report php but now i see what you are saying 04 27 williambuell what book 04 27 but php or html is not germain to my path question at hand 04 27 it is a great book called head first php mysql which leads you step by step including cookie sessions 04 28 i have in my blog links to the book 04 28 i am buying the book for 60 tomorrow and i already downloaded a zip file of all the source code exercises from the publisher 04 29 williambuell do you have any programming background and are you interested in mysql 04 29 i started programming in 1979 through the 1980s with stuff like cobol rpg then basic then pick 04 29 williambuell btw you know you can get it as an ebook for 36 04 29 i am not a moron 04 30 i just have some simple questions which in reality have very simple answers but getting straight answers from techie types is like pulling teeth 04 31 williambuell do you like head first series tags apache head first multiplenamehost mysql o reilly php var www posted in apache irc mysql php programming software tutorial ubuntu wubi leave a comment sending email from php in ubuntu desktop november 28 2009 http ubuntuforums org showthread php t 135397 re path of sendmail open synaptic and search for sendmail then install it from there sendmail will then be found in usr sbin sendmail for win32 only sendmail_from me localhost com for unix only you may supply arguments as well default sendmail t i sendmail_path usr sbin sendmail t i or possibly sendmail_path usr sbin sendmail i t or sendmail_path usr lib sendmail i t my php ini file is located in etc php5 apache2 i go into terminal and type sudo gedit it prompts me for the root password and then i am in gedit with superadmin rights and i can navigate to the php ini file and change it the very first thing i ever did was to open php ini and do save as to original php ini so i can always revert back to the default http ubuntuforums org showthread php t 331137 note the synaptic mgr install of postfix will remove sendmail what worked for me was apt get install postfix and then edit php ini relevant lines in etc php5 apache2 php ini mail function for win32 only smtp localhost smtp_port 25 for win32 only sendmail_from me example com for unix only you may supply arguments as well default sendmail t i sendmail_path usr sbin sendmail t i and edited etc postfix main cf and put my correct external smtp server relayhost smtpauth earthlink net restart the services that had configuration changes during the postfix installation i chose the internet configuration if you hover the mouse over the choice field a tool tip will explain all the choices i noticed that it offered me bryan desktop as a name for the system so i stuck with that since it might be required and i have no idea how to find the name of my system now all i need to do is terminal sudo gedit and edited etc postfix main cf and put my correct external smtp server example relayhost smtpauth earthlink net but mine will i think be smpt gmail com restart the services that had configuration changes of course the first thing i do when i gedit main cf is to save as original main cf close and reopen main cf when i make the above mentioned chage to the file i find see usr share doc postfix tls_readme gz in the postfix doc package for information on enabling ssl in the smtp client and here is what i find in the readme file none of which seems very helpful there are some significant differences between the debian postfix packages and the source from upstream 1 the debian install is chrooted by default 2 dynamically loadable map support 3 for policy reasons a sasl configuration goes in etc postfix sasl b myhostname path to file is supported and used in main cf 4 smtp_line_length_limit defaults to 0 instead of 990 in absolute violation of the rfc note that mailers in the path will still potentially split the line though this will be removed at some point in the future 5 ipv6 support is enabled postfix listens on ipv6 ipv4 by default see inet_protocols 6 tls sasl support is enabled 7 rmail comes from sendmail not from postfix 8 the upstream main cf is delivered as usr share postfix main cf dist rather than cluttering etc postfix main cf with comments known caveats 1 the dynamically loadable modules are not found in the chroot therefore proxy maps may require you to copy the appropriate shared object into the chroot if you chroot the proxy service in master cf 2 some map types and sasl support require some extra configuration beyond what upstream indicates to run inside the chroot the simplest solution for the maps is to use the proxy service which is not chrooted sasl is a bit more complex and is on the todo list 3 note that the chrooted daemons open dev log before chrooting so if your syslog daemon is restarted the daemons will be unable to reconnect to the syslog socket and hence being unable to log the postfix package provides a config snipped for the rsyslog daemon in etc rsyslog d postfix conf to also open a socket in var log postfix dev for other syslog daemons you will also have to restart postfix after restarting the syslog daemon or configure it to open an additional socket a for sysklogd the default in debian versions prior to lenny add syslog a var spool postfix dev log to etc default syslog b for inetutils syslogd add syslogd_opts a var spool postfix dev log to etc default inetutils syslogd here is a link that looks more helpful http behindmyscreen newsvine com _news 2006 12 31 501615 configuringubuntu postfix and gmail in 101 easy steps tags desktop localhost php ini sendmail ubuntu posted in apache e mail php software tutorial ubuntu leave a comment ubuntu apache path question november 28 2009 i successfully installed lamp see another blog post here for details i know that i can place files in var www such as html and php and css and those files will be found and executed whenever i launch the browser and type localhost report html i e if report html is in var www it will run and if it calles report php and that file is in var www it will execute here is my question suppost i want to have different folders holding different applications what do i need to do to guarantee that apache and php and mysql will execute properly when invoked by files in a different folder i did find this in google there s a doc_root in php ini there s also documentroot drive path and directoryindex index html index php otherfile ext in the httpd does that mean that i should simply edit php ini and put a search path someone in kubuntu irc channel told me i should google then they said they do not know too much but it is probably in php ini which is a well documented file so i took a second look and found about php ini this file controls many aspects of php s behavior in order for php to read it it must be named php ini php looks for it in the current working directory in the path designated by the environment variable phprc and in the path that was defined in compile time in that order under windows the compile time path is the windows directory the path in which the php ini file is looked for can be overridden using the c argument in command line mode this leads me to believe that if in terminal i issue cd desktop testwww that perhaps that becomes the current directory and hence in the browser issuing the localhost report html would now look in that current directory i will test out...
|