How to change bitnami redmine default URL - php

Hi I have installed bitnami redmine to use agile.when ever I am writing localhost/ or 127.0.01/ it is accessing bitnami home page to link for redmine.
I want to change it so that it can be used with proper port number , for example i am thinking to give port 1234, so that localhost:1234 will be my address for it.
I have seen and tried {HOME}/apps/redmineplusagileconf/httpd-prefix , to change the access for redmine , but still not able to change the access with custome port.
Any suggestion would help me.

HTTP Port
Under the default configuration, Apache will wait for requests on port 80. Change that by editing the httpd.conf file and modifying the value specified in the Port directive. For example:
Listen 1234
ServerName localhost:1234
Also change the port in installdir/apache2/conf/bitnami/bitnami.conf in the VirtualHost directive:
<VirtualHost _default_:1234>
HTTPS Port
Apache waits for HTTPS requests on port 443. Change that by editing the installdir/apache2/conf/bitnami/bitnami.conf file and modifying the value specified in the Port directive. For example:
Listen 8443
<VirtualHost _default_:8443>
In both cases, restart the Apache server for the change to take effect:
sudo installdir/ctlscript.sh restart apache
NOTE: On Linux and OS X platforms, install the stack as the root user
to use a port number under 1024.

Related

how to access virtual host set in vagrant

I am having debian vagrant. I have done virtual host configuration in its apache as servername https:local-dev02.sitename.com. And used in my windows machine host file 127.0.0.1 local-dev02.sitename.com.
I can access my site in windows' browser as https://local-dev02.sitename.com:8443/.
But I am unable to do
ping https://local-dev02.sitename.com
OR
curl https://local-dev02.sitename.com
OR
wget https://local-dev02.sitename.com
It is only possible to ping a hostname or IP address, but not an URL. So you need to put off the protocol like so
ping local-dev02.sitename.com
To reach your hosts via the hostnames, please add the IPs and hostnames to the /etc/hosts file.

I can't change xampp apache default port number

I changed the httpd.conf file lines:
Listen 80 TO Listen 8012
servername localhost TO servername localhost:8012
And still it trys to start apache at port 80, but can't because a system process is using it.
EDIT
No my question is still different because I already followed those steps listed in the possible duplicate question: How to change the port number of Apache in Xampp
you need to run xampp as an Administrator. it will fix it.

Activating IIS and PHP

I am looking to create a powershell script or a batch file that can turn on IIS and 'active' php (add the proper environment variable [path will be where script is run from]). I looked around and saw things like pkgmgr, however its been depreciated, I need the script to run on computers ranging from Server 03 -> Server 12 and standard boxes like Vista -> Win10.
Which is the best way to achieve this and is there a way to have 1 script run on all boxes or do you need OS checks in the script/different scripts?
IIS and Apache should have different port.
To change the port of Apache(WAMP)
Click on WAMP icon that you can see on your tray or other shortcut icons for wamp.
Look for the Apache and open the httpd.conf or if you know where it is stored.
Find the "80" then change
Listen 80 to Listen 8080
ServerName localhost:80 to ServerName localhost:8080
Note: You can change the port which you desired as long as it will not conflict with your other port. It is more safe and common if the port is at this range.
Then click on Restart All Services.
To change the port of Apache(XAMPP)
Open file \xampp\apache\conf\httpd.conf
search following line(at 47 in default installation):
Listen 80
change the port 80 to another say 8080 as shown below:
Listen 8080
Also search following line(at 181 in default installation)
ServerName localhost:80
and change port 80 to 8080 as shown below:
ServerName localhost:8080
Open \xampp\apache\conf\extra\httpd-ssl.conf file.
search for "Listen 443" and change to "Listen 449"
search for "" and change to ""
search for "ServerName localhost:443" and change to "ServerName localhost:449"
Start the "setup_xampp.bat" and beginning the installation.
Double click on xampp_start.exe. It will start XAMPP.
Note: Do NOT close console window if it is not closed automatically. Keep it opened.
Start your browser and type http://127.0.0.1:8080 or http://localhost:8080 in the location bar. You will see XAMPP start page.
Now, you can work with both IIS and Apache servers.

How to know which port php5 is using I forgot the port number I used to install

I did not use PHP but had to install it for ganglia setup but could not access the php on calling localhost it shows IT Works .How do I know what is the port number .
The default port for HTTP is 80, so if in your browser you are using http://localhost and says "It works!" means it is working on port 80.
PHP is not a web server, you are probably using Apache. You can find its configuration files in /etc/apache2 folder. Look for apache2.conf, httpd.conf or ports.conf and find a line like "Listen (Port Number)"

Getting wampserver working?

I have tried going to Apache, open httpd.conf and change the lines #Listen 12.34.56.78:80; Listen 80 to #Listen 12.34.56.78:80; 8080 and still it did not work. I have went to control panel and System & Security-> Administrative Tools-> Services, then Web Development Service (It did not exist). I also tried start->run->cmd and pressing ctrl + shift + enter, to open command window. I typed net stop MsDepSvc and it did not work either. I know it is there some where because I keep getting the error that HTTPAPI/2.0 is running. What else can I try?
I am getting an error when I try to turn off Microsoft-HTTPAPI/2.0 In order for me to get wampserver on, I have disable the HTTPAPI/2.0 but my computer for some reason does not show the Web Development Service Agent. So What do I do?
None of the comments listed below helped. It cannot find certain files either.
If you have Microsoft SQL Server installed with SQL Server Reporting Services try to stop or disable this service from Control Panel->System and Security->Administrative Tool->Services->SQL Server Reporting Services (InstanceName). More details how to find this service here.
Other cause to block 80 port is Skype.
And if you want to change the apache port to 8080 you need to do this:
Find in httpd.conf the lines :
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80
and replace wtith:
#Listen 12.34.56.78:8080
Listen 0.0.0.0:8080
Listen [::0]:8080
and after restart Wamp server.
You replace only the commented line. The line start with # is comment in httpd.conf. The next line after this is what to replace like in my example.

Categories