You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are building a SaaS system where every customer will have access to our system. As soon as the system opens a new account, a subdomain will be created for the customer.
Now to add this subdomain to the apache vhost I need to run the command "apachectl -t" and "apachectl graceful" on the user running the script.
Apache can load the new vhost configuration. But the user running the script does not have permission to run the command "apachectl -t". All that the user needs is permission to run these two commands to load the configuration and register the subdomain.
"The command \"apachectl -t\" failed.\n\nExit Code: 1(General error)\n\nWorking directory: /home/systemhubs/public_html\n\nOutput:\n================\n\n\nError Output:\n================\nhttpd: Could not open configuration file /etc/apache2/conf/httpd.conf: Permission denied\n"
could you please let me know how I can solve this?
The text was updated successfully, but these errors were encountered:
We are building a SaaS system where every customer will have access to our system. As soon as the system opens a new account, a subdomain will be created for the customer.
Now to add this subdomain to the apache vhost I need to run the command "apachectl -t" and "apachectl graceful" on the user running the script.
Apache can load the new vhost configuration. But the user running the script does not have permission to run the command "apachectl -t". All that the user needs is permission to run these two commands to load the configuration and register the subdomain.
"The command \"apachectl -t\" failed.\n\nExit Code: 1(General error)\n\nWorking directory: /home/systemhubs/public_html\n\nOutput:\n================\n\n\nError Output:\n================\nhttpd: Could not open configuration file /etc/apache2/conf/httpd.conf: Permission denied\n"
could you please let me know how I can solve this?
The text was updated successfully, but these errors were encountered: