Ok does some one want to share how to make this template in httpd.conf or be willing to write it out for me before i force feed httpd.conf with crontab every 5 minutes over writing the file and restarting apache?
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory "/var/www/vhost/">
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
The above is an example of what i need for all my sites…
Now about Nethserver 7… Yea… It would help if could even get the thing installed hi hi… Some joke their… I spent about a week messing around with the thing and no result in fact thats what caused me to go back to 6.8… First issue I had with Nethserver 7 was rc.local was a disaster. I could not add my special gateway commands to rc.local meaing my server would not boot up with its proper Ip… Nothing in the networking configs even seemed to remotely work with my situation… The following below is only an example of ips but its to help you understand a little bit about what i have to deal with in the Data Center environment…
Example
Lets say my static ip is 10.10.10.201 ok lets say the default gateway is 192.168.1.254 yea some pretty crazy stuff but are you guys following where the problem lies…
So because the networking.conf file wont force me to my proper ip and for some reason it requires a default gateway I can’t just leave it blank this causes issues with the server even being recognizable at all…
Here is an example script i use to help me get things online with nethserver 6.8 I put this in rc.local however it doesn’t stick either…
Example ips only listed
sleep 8s
ifconfig eth1 10.10.10.201 netmask 255.255.255.255
sleep 2s
route add 192.99.13.254 dev eth1
route add default gw 192.168.1.254 eth1
At least with nethserver 6.8 it will allow cron to run this some times after boot other times i am not sure why it fails… But in Nethserver 7 its like big issue…
So… How do i write templates again?? cant I just copy and past the stuff and make it act like a template??
Would it be easier to maybe make the file read only??
Here is what i am trying at the moment… I imagine this will make some thing back end not happy but the script to write to files is kinda messed up unless your going to allow a web front end where i can insert the proper information need for things to work…
Here is what i did…
chmod 555 /etc/rc.local
chmod 555 /etc/httpd/conf./httpd.conf
I hope i don’t get to witness an explosion so far i have been able to go 20 days with out a restart lol…
I just need my crap to work… thats all…