httpd.conf file on DSM 6.0.2-8451 Update 7

Questions about HTTP Access/Mods may go here
Forum rules
We've moved! Head over to Synology Community (community.synology.com) to meet up with our team and other Synology enthusiasts!
dmy
I'm New!
I'm New!
Posts: 8
Joined: Sat Jul 05, 2014 3:12 pm

httpd.conf file on DSM 6.0.2-8451 Update 7

Unread post by dmy » Wed Jan 04, 2017 10:55 pm

Hi,

just upgraded my RS812+ to the lastest DSM and I have one issue. I have an intranet website in the homes folder which needs to access data outside its www folder. To overcome a cross origin block I had to add my own .conf file in the folder

Code: Select all

usr/local/etc/httpd/sites-enabled/
The original httpd.conf file was in the folder

Code: Select all

usr/local/etc/httpd
and contained the line "include sites-enabled/*.conf", which loaded my .conf file and everything worked. Reason for not directly editing the httpd.conf file was that I heard it will be overwritten on a reboot.

Now the folder

Code: Select all

usr/local/etc/httpd/
is empty, where did the httpd.conf file go? A reboot of the Rackstation did not help. I stopped the Apache HTTP server 2.2 in Webstation and restarted it, still nothing.

Thanks and best regards,
dmy

juraj
Student
Student
Posts: 65
Joined: Fri Feb 10, 2012 2:34 am
Contact:

Re: httpd.conf file on DSM 6.0.2-8451 Update 7

Unread post by juraj » Thu Jan 05, 2017 5:59 am

Not sure but you might need to recreate it.

Regardless, I think this is a wrong forum section and you probably won't find an answer you're seeking here.
Synology enthusiast
Founder of All Secure IT Services

dmy
I'm New!
I'm New!
Posts: 8
Joined: Sat Jul 05, 2014 3:12 pm

Re: httpd.conf file on DSM 6.0.2-8451 Update 7

Unread post by dmy » Thu Jan 05, 2017 9:07 am

Why would a configuration issue be wrong in the configuration subforum?

Anyhow, here's the solution:
- Under DSM 6 (it believe actually under 6.0.2, not earlier) the Apache Server was moved into a separate package, so it can be installed and configured in the package center. This led to the httpd conf file now being in a different folder (usr/local/etc/apache22/conf/) than before. My separate .conf file was moved with the update (!) (to /usr/local/etc/apache22/sites-enabled) and my issue seems to relate to a perl package problem.

Locked

Return to “HTTP/Apache Mods”