Apache Server & PHP Configuration Specialist

Job ID: 38970631

Budget: $30 – $250 USD

I am looking for an experienced server administrator to troubleshoot and resolve issues with my Apache server and PHP configuration. My website, hosted on a cPanel-managed server, is encountering a persistent 404 Not Found error for specific URLs (e.g., /rest/oauth2-credential/callback). Despite setting up the necessary files and VirtualHost configurations, the issue remains unresolved.

Scope of Work:

Verify Apache VirtualHost Configuration:

Ensure the DocumentRoot for the domain smoomer.ai points to /var/www/html.
Confirm that the correct VirtualHost block is properly set up in /etc/apache2/conf/httpd.conf.
Fix PHP Execution Issues:

Verify that PHP is correctly configured and executing for .php files in the /var/www/html directory.
Add or fix the AddHandler directive for PHP if required.
Check Directory Permissions:

Ensure all necessary files and directories have the appropriate ownership and permissions (apache:apache and 755).
Restart and Test Apache:

Test the Apache configuration with apachectl configtest to confirm there are no syntax errors.
Restart the Apache server and verify that the site loads without errors.
Debug 404 Issue:

Investigate why specific paths, such as /rest/oauth2-credential/callback, are not resolving properly.
Fix the issue so the server returns the correct content for these URLs.
DNS and Connectivity Check (if needed):

Confirm that the domain smoomer.ai resolves to the correct IP address.
Ensure there are no firewall rules or network issues blocking access to the site.
Requirements:

Strong experience with Apache configuration, VirtualHost setup, and PHP integration.
Familiarity with cPanel and its nuances (e.g., EasyApache).
Ability to troubleshoot 404 errors and PHP execution issues effectively.
Experience working on
cPanel-managed servers with Linux distributions (e.g., CentOS, AlmaLinux).

Deliverables:

Fully functioning website where URLs like /rest/oauth2-credential/callback resolve without errors.
Documentation of the changes made to the server configuration.
Recommendations for future maintenance or improvements to the server setup.
Related categories: PHP Linux Apache Nginx MySQL