Re: [users@httpd] Web page works with "php -S" but not with apache

2018-05-29 Thread John Hicks
On 05/29/2018 04:05 PM, Mahmood Naderan wrote: Consider the following apach2 config file on an Ubuntu 18.04 as below root@web1:/var/www/html# cat /etc/apache2/sites-available/000-default.conf ServerAdminwebmaster@localhost DocumentRoot/var/www/html/ OptionsIndexesFollowSymLinksMultiViews

Re: [EMAIL PROTECTED] What is apache compiled with now?

2008-06-25 Thread John Hicks
. This will not list dynamically loaded modules included using the LoadModule directive. So try running: httpd -l Does this help? -- John Hicks - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] seperate vhost files for each domain

2008-06-25 Thread John Hicks
multiple files in a similar manner. Remember that Apache only reads its configuration once, when it is started up, so the additional processing is minimal. - John Hicks

Re: [EMAIL PROTECTED] Setting up single-site anonymizer?

2008-05-19 Thread John Hicks
othersite should be href='/catalog/343' > but apparently is href='http://othersite.com/catalog/343' > John Hicks

Re: [EMAIL PROTECTED] NameVirtualHosts has no VirtualHosts

2006-07-14 Thread John Hicks
Ki Song wrote: I've been running an apache/postfix/mysql server for about a year now. I found out that this error has been going on for a while: [warn] NameVirtualHost 70.88.225.1:80 has no VirtualHosts This indicates that you hven't defined any virtual domains to be served by your webserver

Re: FW: [EMAIL PROTECTED] how to prevent directory listing

2006-07-03 Thread John Hicks
[EMAIL PROTECTED] wrote: > I added below lines in httpd.conf, but > > Options -Indexes > The directive should reference the full directory path: e.g. if tomcat is in /opt: -J [EMAIL PROTECTED] wrote: Hi, My application set up is: Client (Brower) -> http server <-(mod_jk)-> T

Re: [EMAIL PROTECTED] Apache Mode_rewrite query : Newbie question

2006-05-09 Thread John Hicks
Rajat Sharma wrote: Creating of configuration such as below is fine. ButIs above to be put in httpd.conf or .httpaccess or in completely new filemod_rewrite.conf RewriteEngine on RewriteBase/~quux/ RewriteRule^foo$ foo/ [R] ///

Re: [EMAIL PROTECTED] Running Batchfiles

2006-05-07 Thread John Hicks
Broun Emmanuel wrote: Hello freinds I intend to run locally installed software (.exe, dll) from a remote machine. > The interest is to carry out computing at the server, then call for > results to the client. > Am doing this using Java but there is always an error of access. what can i do -

Re: [EMAIL PROTECTED] Session Count Question From a Newbie

2006-05-05 Thread John Hicks
Stuart, Ed wrote: Hello all; I new to the administration of an Apache web server and am looking for a way to see how many clients are connected to the web server. We're running Apache 2.0.46 on Red Hat AS 4. Netstat gives me connection info, but shows multiple connections for the clients. How

Re: [EMAIL PROTECTED] programmatically configure "Virtual Directory" in Apache 2.0

2006-05-03 Thread John Hicks
Calin Cirstea wrote: Is there any way to programmatically configure the Apache "Virtual Directory"? "Virtual Directory" is not a term that is used in the Apache world. It appears to be a Microsoft IIS term. > I know how to do it statically (httpd.conf) but I would like a > dynamically (runt

users@httpd.apache.org

2006-04-19 Thread John Hicks
Bernd Muent wrote: Hi together, I'd like the following for a CMS: URL http://localhost/module/News/article/56/show/1.html will be rewrited to http://localhost/index.php?module=News&article=56&show=1 From the PHP site, it's easy to explode the querystring and prepare the right link. When I cl

Re: [EMAIL PROTECTED] A lil Mod Rewrite help please...

2006-04-07 Thread John Hicks
m i l e s wrote: If I have the following series of urls: webmail.theusersdomain.com webmail.somedomain.com webmail.myuserdomain.com webmail.etc.com Instead of adding hostdirections in the apache conf fileI was thinking a mod_rewrite rule would do the trick rather nicelywhat I thought

Re: [EMAIL PROTECTED] Re: Mod-Rewrite: Changing + to -, _ or .

2005-08-22 Thread John Hicks
David Blomstrom wrote: OK, I've finally got it working. Thanks for all the tips, everyone. Would you mind sharing with us just how you solved your problem? (Future generations may thank you.) Thanks, --John --- Kovacs Baldvin <[EMAIL PROTECTED]> wrote: On Sun, Aug 21, 2005 at 10:18:26

Re: [EMAIL PROTECTED] Re: Request jsp pages from server and store them on disk

2005-08-18 Thread John Hicks
Erik Labree wrote: Davide Bianchi onlyforfun.net> writes: Erik Labree wrote: To generate those local file we need to have a tool/script that looks at the directory structure of the webapplication and does requests to the pages it can see and save each page as plain text in the same director

Re: [EMAIL PROTECTED] Warning: DocumentRoot does not exist

2005-08-16 Thread John Hicks
Jody Cleveland wrote: Ok, I solved it: I renamed the existing directories, created new ones, and copied the data into it. Now, apache starts up fine. Any idea what the problem was? - The official User-To-User support forum

Re: [EMAIL PROTECTED] apache 2.0.54 configuration with cgi,php scripting support

2005-08-16 Thread John Hicks
Note that this HTML message (the one I am replying to) contains multiple links to the identical message posted on experts-exchange.com. Note that the question is a very general one with an obvious answer, but one that will probably be searched for with some frequency ("Apache install and confi

Re: [EMAIL PROTECTED] Mod_rewrite Newbie Questions

2005-08-14 Thread John Hicks
David-- The way you describe your problem indicates you may misunderstand what URL rewriting does. > So I have three basic "raw" URL's that look something > like this: > > http://www.geozoo.org/stacks/index.php?taxon=Animalia > http://www.geozoo.org/kids/stacks/index.php?taxon=Animalia > http:

Re: [EMAIL PROTECTED] Rewrite Issue with SSL Site

2005-08-12 Thread John Hicks
Dave Morrow wrote: Hi all, I have a webserver which is serving a Tomcat application through mod_jk (1.2). The end-users browse the site using SSL only (ie. https://www.mydomain.com/myapplication ) It's working fine. I would like to use re-writing to force the root of the website to rewrite to

Re: [EMAIL PROTECTED] mod_rewrite question, escaping quantifiers

2005-08-12 Thread John Hicks
Tony VanScoy wrote: I got it. RewriteCond %{QUERY_STRING} ^file\=12$ RewriteRule ^/test\.php$ /pdf/somfile.pdf [R,L,T=application/pdf] Looks like i needed regex in the RewriteCond. Thanks. That was my bad on the % to $ typo. Sorry. The last argument for the Rewrite Cond can be either a rege

Re: [EMAIL PROTECTED] Apache on WinXP won't startup

2005-08-12 Thread John Hicks
Are you sure you were in the apache/bin directory when you did this? Do a directory listing and show us the results. John Suzy wrote: Hi I tried this, but the apache -k stop command isn't being recognised: "Apache is not recognised as an internal or external command, operable program or ba

Re: [EMAIL PROTECTED] mod_rewrite question, escaping quantifiers

2005-08-11 Thread John Hicks
Tony VanScoy wrote: I want to redirect certain requests to a pdf depending on a get variable. nothing new, but I just can't get it to work. So I started with the basics but just redirecting a certain page to a pdf, which works. RewriteRule ^/test\.php$ /pdf/somefile.pdf$ [R,T=application/pdf] W

Re: [EMAIL PROTECTED] Virtual Hosts & public_html Folder

2005-08-09 Thread John Hicks
David Blomstrom wrote: This is how most of my virtual hosts are set up: ServerName geoworld ServerAlias geoworld *.geoworld DocumentRoot c:\sites\geoworld However, I read somewhere that it's better to put your sites inside a folder named public_html, then set up your virtual host like this:

Re: [EMAIL PROTECTED] Apache won't display index.html

2005-08-08 Thread John Hicks
Zack, it looks like http://zack.radpages.com/ is a frameset that includes your index.html at your IP address http://70.120.160.233/index.html We're you expecting them to be doing dynamic DNS for you? That's not happening (and, judging from the popups, I'm guessing they don't plan on doing it).

Re: [EMAIL PROTECTED] xml-xsl

2005-08-08 Thread John Hicks
> Quoting Billy Duke <[EMAIL PROTECTED]>: > > >>This is the erro that i got. >> >>Warning: Unexpected character in input: '\' (ASCII=92) state=1 in >>C:\phpdev5\www\test1.php on line 3 >> >>Parse error: parse error, unexpected T_STRING in C:\phpdev5\www\test1.php on >>line 3 Billy's error refer

Re: [EMAIL PROTECTED] mod_rewrite vs Content Management Systems

2005-08-07 Thread John Hicks
have multiple subjects pointing to the same article. Hope that helps. John Hicks Thanks. Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs ---

Re: [EMAIL PROTECTED] JSP pages and Apache 2

2005-08-03 Thread John Hicks
x27;t want to display index.html, the simplest solution would be to delete that file from the directory. (If you do want to display it, but not as a directory index, why not rename it to something other than "index"?) Hope that hel

Re: [EMAIL PROTECTED] New to Web Development

2005-08-01 Thread John Hicks
nternet is full of excellent resources on web development --Google is your friend Good luck! --John Hicks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html

Re: [EMAIL PROTECTED] Displaying a directory in specific directory

2005-08-01 Thread John Hicks
toryIndex directive) file from the directory. If this option is not already set, you can set it for this one directory with the following directive in a section or .htaccess file: Options +Indexes Hope that helps. -John Hicks

Re: [EMAIL PROTECTED] apache2 problem

2005-08-01 Thread John Hicks
webmaster wrote: hi, i have a problem with my apache2. I changend the machine on which apache was running, and now apache won't start. I check the logs and i got no errors there i tryed messages/syslog, apache error log nothing. If i change the machine back all is ok apache starts ok. I tryed to

Re: [EMAIL PROTECTED] Rewriting rule for redirecting webmail to https

2005-07-30 Thread John Hicks
/webmail https://mydomain.tld/webmail See: http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirect Hope that helps. Regards, -John Hicks - The official User-To-User support forum of the Apache HTTP Server Project