[users@httpd] change default apache welcome page
Hi all I need to change apache default welcome page to customized one. When I add index.php to DocumentRoot (default not that with virtual host) nothing change I get the same welcome page. And when I disable welcome page I get not allowed error page.How to change it and if I want to customize error pages how to do it? Regards
Re: [users@httpd] change default apache welcome page
On Fri, Oct 14, 2011 at 7:36 AM, Amira Othman a.oth...@cairosource.com wrote: Hi all I need to change apache default welcome page to customized one. When I add index.php to DocumentRoot (default not that with virtual host) nothing change I get the same welcome page. And when I disable welcome page I get not allowed error page.How to change it and if I want to customize error pages how to do it? Your server probably doesn't look for an index.php -- find your current DirectoryIndex, or add a new one, e.g. DirectoryIndex index.php index.html http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex Regards -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [users@httpd] change default apache welcome page
I need to change apache default welcome page to customized one. When I add index.php to DocumentRoot (default not that with virtual host) nothing change I get the same welcome page. And when I disable welcome page I get not allowed error page.How to change it and if I want to customize error pages how to do it? Your server probably doesn't look for an index.php -- find your current DirectoryIndex, or add a new one, e.g. DirectoryIndex index.php index.html http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex Regards I checked it but no change still welcome page appears. And how to change default error page ?? - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] change default apache welcome page
Regards I checked it but no change still welcome page appears. And how to change default error page ?? Checked it or changed it? Did you clear your browser cache? You can change the default by editing it. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Fw: favicon.ico
Wild Bill Miller Swampmaster -- From: Wild Bill Miller wildbillsemail...@comcast.net Sent: Friday, October 14, 2011 1:30 AM To: users-i...@httpd.apache.org Subject: favicon.ico I am new to the Apache web server. When I inquire on my domain (www.thepictureshow.net) the web browser gives an error and says attempt to connect was rejected. In the error log of Apache it shows an error for file does not exist: C://program files/apache software foundation/apache 2.2/htdocs/favicon.ico There is no such file anywhere in the httpd.conf file. There is no such file anywhere on my computer. A message in the archives said no problem just add the folder favicon.ico to the tree. Tried that but it still would not recognize the folder and I get the same error message about file does not exist. Does anyone know how to fix this problem? Where is this favicon.ico being generated from? Any help would be appreciated. Bill Miller - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Fw: favicon.ico
On one hand: favicon.ico must be readable by the process which runs the web server. Check the ACL on that file. On the other hand: it is not an error if favicon.ico does not exist. That's the small image which is typically displayed just to the left of the URL entry field near the top of the browser window. If there is no favicon, the browser just leaves the space blank or substitutes a default. Your actual problem is somewhere else. Check the ACLs on the other files in htdocs to ensure that httpd can read them, and also check all of your Allow and Deny commands in httpd.conf to ensure that your client machine is allowed access to the page you requested. You may see other errors in the log which will help you to pin down the actual problem. Favicon is not it. A message in the archives said no problem just add the folder favicon.ico to the tree. Tried that but it still would not recognize the folder and I get the same Woops, I read this again. favicon.ico is not a folder; it's an image file. Find more than you ever wanted to know here: http://en.wikipedia.org/wiki/Favicon -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpUFPs3Otef9.pgp Description: PGP signature
Re: [users@httpd] Fw: favicon.ico
It is surprising that the installation of apache does not install a sample favicon.ico (the apache feather, perhaps). On 14 October 2011 14:34, Mark H. Wood mw...@iupui.edu wrote: On one hand: favicon.ico must be readable by the process which runs the web server. Check the ACL on that file. On the other hand: it is not an error if favicon.ico does not exist. That's the small image which is typically displayed just to the left of the URL entry field near the top of the browser window. If there is no favicon, the browser just leaves the space blank or substitutes a default. Your actual problem is somewhere else. Check the ACLs on the other files in htdocs to ensure that httpd can read them, and also check all of your Allow and Deny commands in httpd.conf to ensure that your client machine is allowed access to the page you requested. You may see other errors in the log which will help you to pin down the actual problem. Favicon is not it. A message in the archives said no problem just add the folder favicon.ico to the tree. Tried that but it still would not recognize the folder and I get the same Woops, I read this again. favicon.ico is not a folder; it's an image file. Find more than you ever wanted to know here: http://en.wikipedia.org/wiki/Favicon -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. -- Steve Swift http://www.swiftys.org.uk
Re: [users@httpd] Fw: favicon.ico
On 10/14/2011 3:56 PM, Steve Swift wrote: It is surprising that the installation of apache does not install a sample favicon.ico (the apache feather, perhaps). Wouldn't happen. Take a look at the modern rendition of 'it worked'. htmlbodyh1It works!/h1/body/html The arbitrary user installs a server, why should that be branded to browsers as the ASF? It is that person's server. I suppose you could make a case for a transparent empty icon, though. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Fw: favicon.ico
At 09:56 PM 10/14/2011 +0100, Steve Swift wrote: It is surprising that the installation of apache does not install a sample favicon.ico (the apache feather, perhaps). Why? It's already above and beyond that httpd gives you a success page. A server is designed to serve what *you* want -- and that includes gizmos that have nothing to do with serving. It's trivial for the owner|user to customize -- I would not want official distros to get bloated à la M$. Best - Paul Tired old sys-admin On 14 October 2011 14:34, Mark H. Wood mw...@iupui.edu wrote: On one hand: favicon.ico must be readable by the process which runs the web server. Check the ACL on that file. [snip] - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Fw: favicon.ico
I don't have any particular axe to grind, but putting a favicon.ico in the documentroot would avoid the error log starting to fill from the outset. Also, for someone who had just installed their first ever server, it would give them a clue how to get their own icon to appear in the browser. This question comes up regularly. On 14 October 2011 22:37, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 10/14/2011 3:56 PM, Steve Swift wrote: It is surprising that the installation of apache does not install a sample favicon.ico (the apache feather, perhaps). Wouldn't happen. Take a look at the modern rendition of 'it worked'. htmlbodyh1It works!/h1/body/html The arbitrary user installs a server, why should that be branded to browsers as the ASF? It is that person's server. I suppose you could make a case for a transparent empty icon, though. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org -- Steve Swift http://www.swiftys.org.uk
Re: [users@httpd] Fw: favicon.ico
And the access log? On Oct 14, 2011 9:59 PM, Steve Swift swi...@swiftys.org.uk wrote: I don't have any particular axe to grind, but putting a favicon.ico in the documentroot would avoid the error log starting to fill from the outset. Also, for someone who had just installed their first ever server, it would give them a clue how to get their own icon to appear in the browser. This question comes up regularly. On 14 October 2011 22:37, William A. Rowe Jr. wr...@rowe-clan.net wrote: On 10/14/2011 3:56 PM, Steve Swift wrote: It is surprising that the installation of apache does not install a sample favicon.ico (the apache feather, perhaps). Wouldn't happen. Take a look at the modern rendition of 'it worked'. htmlbodyh1It works!/h1/body/html The arbitrary user installs a server, why should that be branded to browsers as the ASF? It is that person's server. I suppose you could make a case for a transparent empty icon, though. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org -- Steve Swift http://www.swiftys.org.uk