Hello Juan,
There is no option to uninstall Apache from awinstall. The easiest way to uninstall Apache is to delete the Apache directory. Once you install an Apache version of your liking, rerun awinstall. When you are prompted "Is everything correct?", enter No and you will have to chance to change the Apache Home directory. This parameter is necessary so awinstall can find and write to the httpd.conf file. Once you reach the point in the awinstall process where the database password is prompted, go ahead and cancel out of the awinstall process (Ctrl + c). The httpd.conf and awenv.ini files should already be updated with your new values.
Below is a example of my test instance. I've selected No, changed the Apache home value, and then selected Yes to the prompt "Is everything correct?". You will see both awenv.ini and httpd.conf files being written to(since I put a fake directory, the error "Could not find apache httpd.conf file" is seen).
Is the above correct [Yes]?
Writing awenv.ini values
Setting value AW_HOME=/home/qa4/user_tests/phm/PHM {NuLl}
Checking for distribution files
skipping extract files from AWhelp.zip
skipping extract files from AWjars.zip
skipping extract files from AWutil.zip
skipping extract files from winjre.zip
URL
************************************************************
To install the Applications Manager client, you will need to access the following URL:
http//123.456.789/PHM/Intro.html
Please write down this URL for future reference!
************************************************************
Setting value APACHE_HOME=/etc {/etc/httpd}
Could not find apache httpd.conf file - /etc/conf/httpd.conf
Writing Option.properties
Applications Manager Oracle Password [] ?
Hope this help,
Phearith Mao