I'm trying to set up my HDA to host websites, but haven't had much luck. I read the wiki on hosting a website, and was able to get to the apache test page, however, that's the best I've gotten. I changed the permissions to my user, hoping it would work, but now I only get an HTTP 500 error whenever I try to add a new web app. Help would be greatly appreciated
Website Hosting
-
therockr92
- Posts: 4
- Joined: Wed Feb 09, 2011 9:52 pm
Website Hosting
Alright, here's the deal: I'm a noob at this but felt extra dangerous tonight
I'm trying to set up my HDA to host websites, but haven't had much luck. I read the wiki on hosting a website, and was able to get to the apache test page, however, that's the best I've gotten. I changed the permissions to my user, hoping it would work, but now I only get an HTTP 500 error whenever I try to add a new web app. Help would be greatly appreciated
I'm trying to set up my HDA to host websites, but haven't had much luck. I read the wiki on hosting a website, and was able to get to the apache test page, however, that's the best I've gotten. I changed the permissions to my user, hoping it would work, but now I only get an HTTP 500 error whenever I try to add a new web app. Help would be greatly appreciated
Re: Website Hosting
The files in the website directory directory should be owned by apache and not your user. Did you follow the wiki exactly? You need to put a file called index.html in that directory for it to work.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
therockr92
- Posts: 4
- Joined: Wed Feb 09, 2011 9:52 pm
Re: Website Hosting
Got it... it got confusing where at the bottom it says the easiest way is to change ownership to the user...
Now, for the real question: how do I undo this? What is apache's user as far as the system is concerned?
Now, for the real question: how do I undo this? What is apache's user as far as the system is concerned?
Re: Website Hosting
No problem, that is understandable. If there is a better way to word it in the wiki, please make the change. We don't want users to be confused on what to do.
As for changing back to apache user, do chown -R apache:users on that directory.
As for changing back to apache user, do chown -R apache:users on that directory.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
therockr92
- Posts: 4
- Joined: Wed Feb 09, 2011 9:52 pm
Re: Website Hosting
Here's how I'm trying to do this:
I'm trying to upload websites I have created from iWeb onto the share used for the webapp. When I try to access the page, however, I am directed to the Apache test page. How do I change this? I feel like I'm so close but so far away on this one
I'm trying to upload websites I have created from iWeb onto the share used for the webapp. When I try to access the page, however, I am directed to the Apache test page. How do I change this? I feel like I'm so close but so far away on this one
-
therockr92
- Posts: 4
- Joined: Wed Feb 09, 2011 9:52 pm
Re: Website Hosting
Ok so I got it to work by changing ownership to my user, copying the files, and changing it back to apache. Do I have to do this every time I want to publish a site?
Who is online
Users browsing this forum: No registered users and 22 guests