[users@httpd] File Permissions
Hello All, I have a remote server and utilize Apache2.4 to host a website. There are three partitions, C, D, E. Apache is on C and the website is on partition E as are the log files i.e. Access and Error. When I RDC to the server the log files are present and can be viewed with notepad. However, when I FTP to the website the files are shown but they cannot be opened for viewing. Get error message “550 Could Not Open File For Reading”. As far as I know the file permissions haven’t changed and when using an older version of Apache everything worked. All assistance will be appreciated. Thanks, Milt
Re: [users@httpd] Linking website pages with Apache on LocalHost
Thank you Paul. I had forgotten to add ".html" to Page1. Sometimes you can't see the trees for the forest or is it the other way around? -Original Message- From: Paul A Sent: Wednesday, April 27, 2022 3:10 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Linking website pages with Apache on LocalHost On 2022-04-27 12:25 p.m., DiversityLink/Milt Spain wrote: I have gotten Apache2.4 installed and running on my local computer. It’s on the C drive and the website is at C:/Apache24/htdocs/Milt.com. The Milt.com folder contains Index (htm file) and Page1 (html file). 127.0.0.1/Milt.com displays the Index. Now I want a hyperlink on the Index page that will bring up Page1. Probably not ana Apache problem; have you tried: I have been unable to make anything work. Is Page1 in the wrong place or could I be using the wrong path in the hyperlink (I’ve tried several without success)? All assistance will be appreciated. Milt Spain - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Linking website pages with Apache on LocalHost
I have gotten Apache2.4 installed and running on my local computer. It’s on the C drive and the website is at C:/Apache24/htdocs/Milt.com. The Milt.com folder contains Index (htm file) and Page1 (html file). 127.0.0.1/Milt.com displays the Index. Now I want a hyperlink on the Index page that will bring up Page1. I have been unable to make anything work. Is Page1 in the wrong place or could I be using the wrong path in the hyperlink (I’ve tried several without success)? All assistance will be appreciated. Milt Spain
Re: [users@httpd] Re: Unable to connect to Apache test website on LocalHost
Thank you! From: Frank Gingras Sent: Friday, April 15, 2022 7:43 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Re: Unable to connect to Apache test website on LocalHost Yes, you can run multiple instances of httpd on windows. Make sure the log file paths do not overlap as well. On Fri, 15 Apr 2022 at 16:39, DiversityLink/Milt Spain wrote: Thanks again for the suggestions. Now I have another question regarding updating the version of Apache that I have hosting a website on a remote Windows Server 2019. The server is partitioned C, D,& E. Apache 2.2 is on the C drive and the website docs are on the E drive. All works well. Here’s the question: can I install Apache 2.4 on the D drive, have it listen to a port other than 80, and start and test it while the older version of Apache is running on the C drive serving up the website. Your answer and suggestions will be appreciated. Milt Spain From: Frank Gingras Sent: Thursday, April 14, 2022 3:18 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Re: Unable to connect to Apache test website on LocalHost Can we please stop guessing at the cause of the error until said user gives us the verbatim log entry? On Thu, 14 Apr 2022 at 12:20, 😉 Good Guy 😉 wrote: On 13/04/2022 21:25, DiversityLink/Milt Spain wrote: > Thanks for all the suggestions. Tried them all with no resolution of > the problem. Reloaded Apache 2.4 and it seemed to be working well but > all of sudden I can’t access LocalHost. Get this message. > It looks like you need to grant permission on the folder for the "Public" to access the resource. I suggest right click on the folder and then choose Sharing from the tab. You can then assign permission for "Read/Write". Windows is pretty fussy about sharing of resources on its system!. I run both IIs and Apache on my machine using the same DocRoot which IIS calls it "inetpub" so that I don't have to duplicate the Joomla or Wordpress sites or even static HTML/CSS/JS files for my development sites. I use Windows 11 but I have used 10, 7, Vista and XP before and I have manually installed Apache/MySQL on all of them so I have gone through the hassle you are going through. -- With over 1.9 billion devices now running Windows 10/11, customer satisfaction is higher than any previous version of windows. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Re: Unable to connect to Apache test website on LocalHost
Thanks again for the suggestions. Now I have another question regarding updating the version of Apache that I have hosting a website on a remote Windows Server 2019. The server is partitioned C, D,& E. Apache 2.2 is on the C drive and the website docs are on the E drive. All works well. Here’s the question: can I install Apache 2.4 on the D drive, have it listen to a port other than 80, and start and test it while the older version of Apache is running on the C drive serving up the website. Your answer and suggestions will be appreciated. Milt Spain From: Frank Gingras Sent: Thursday, April 14, 2022 3:18 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Re: Unable to connect to Apache test website on LocalHost Can we please stop guessing at the cause of the error until said user gives us the verbatim log entry? On Thu, 14 Apr 2022 at 12:20, 😉 Good Guy 😉 wrote: On 13/04/2022 21:25, DiversityLink/Milt Spain wrote: > Thanks for all the suggestions. Tried them all with no resolution of > the problem. Reloaded Apache 2.4 and it seemed to be working well but > all of sudden I can’t access LocalHost. Get this message. > It looks like you need to grant permission on the folder for the "Public" to access the resource. I suggest right click on the folder and then choose Sharing from the tab. You can then assign permission for "Read/Write". Windows is pretty fussy about sharing of resources on its system!. I run both IIs and Apache on my machine using the same DocRoot which IIS calls it "inetpub" so that I don't have to duplicate the Joomla or Wordpress sites or even static HTML/CSS/JS files for my development sites. I use Windows 11 but I have used 10, 7, Vista and XP before and I have manually installed Apache/MySQL on all of them so I have gone through the hassle you are going through. -- With over 1.9 billion devices now running Windows 10/11, customer satisfaction is higher than any previous version of windows. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Unable to connect to Apache test website on LocalHost
Thanks for all the suggestions. Tried them all with no resolution of the problem. Reloaded Apache 2.4 and it seemed to be working well but all of sudden I can’t access LocalHost. Get this message. Forbidden You don't have permission to access this resource. Get the “Cannot Find The Site” message when trying to find the website with any browser. Current Host file is : # localhost name resolution is handled within DNS itself. #127.0.0.1 localhost #::1 localhost 127.0.0.1 Milts1.com Current Virtual Host is: ServerAdmin mil...@example.com DocumentRoot c:/Apache24/htdocs/Milts1.com/ ServerName Milts1.com ErrorLog logs/Milts1.com ServerAlias www.Milts1.com CustomLog logs/Milts1.com common Path to the website is: C:/Apache24/htdocs/Milts1.com Any suggestions that will help resolve my problem will be appreciated. Milt Spain From: Yehuda Katz Sent: Tuesday, April 12, 2022 5:54 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Unable to connect to Apache test website on LocalHost Besides the ServerAlias, You probably also need to add DirectoryIndex index.html and also change your document root to the actual root directory where your website is located. - Y Sent from a device with a very small keyboard and hyperactive autocorrect. On Tue, Apr 12, 2022, 5:21 PM Eric Covener wrote: On Tue, Apr 12, 2022 at 5:12 PM DiversityLink/Milt Spain wrote: > > Apache2.4 installed and operating on Widows 7. Test site is loaded at C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com folder as index (an htm file). Virtual Hosts is set up as: > > > > ServerAdmin a...@example.com > DocumentRoot"C:Apache24/htdocs/" > ServerName testsite.com How about appending: ServerAlias localhost - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Unable to connect to Apache test website on LocalHost
Apache2.4 installed and operating on Widows 7. Test site is loaded at C:\Apache24\htdocs\testsite.com. Site index is loaded in the testsite.com folder as index (an htm file). Virtual Hosts is set up as: ServerAdmin a...@example.com DocumentRoot"C:Apache24/htdocs/" ServerName testsite.com ErrorLog "logs/testsite.log" ServerAlias www.testsite.com Custom Log "Logs/testsite.logs" common Using FireFox browser calling testsite.com goes to a live site on the internet. Calling local host brings up this: Index of / a.. testsite.com/ which in turn shows this: Index of /testsite.com a.. Parent Directory b.. index.htm I’ve researched everything I can think of on Google and haven’t been able to connect to the site index. Obviously I have an error somewhere. All assistance will be sincerely appreciated. Milt Spain
Re: [users@httpd] Addressing Subfolders in Apache
I suspect the problem is not the server. It seems to me that you either have unintentionally denied access to the files in question or your links are incorrectly coded. -Original Message- From: Eric Covener Sent: Thursday, May 27, 2021 12:34 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Addressing Subfolders in Apache On Thu, May 27, 2021 at 3:27 PM g...@machead.info wrote: Dear Apache Geeks— I have a local installation of Apache 2.4.33 on a Mac Pro tower running macOS 10.13.6, Apache, MySQL, and PHP 7.1.33. The Apache web server works; I can display locally developed web sites in browsers. There’s just one thing wrong: the server only allows browsers to view site root-level pages. Links to local web pages in subfolders of site root folders are not displayed. Instead I get a requester offering to ‘open with Firefox’ or ‘save file’. Open with Firefox produces a blank browser window with the same requester, with the same choices. So far web searching and searching the Apache archives have not turned up the diagnoses for my system's inability to view pages in local site subfolders, so I am hoping that someone in this community might know why this is happening. Do you have mod_dir loaded in your configuration? Does it also fail if you access a specific file in a sub-folder? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org