Navigation
0 users online :: 0 Guests and 0 Registered
Records in this category
- How to create an Opera PBI?
- How to create a KOffice PBI?
- How to create an OpenOffice.org PBI?
- How to compile KOffice without some of its components?
- Creating complex PBIs from ports - Example: VLC 0.8.5
- How to create a Codecs PBI?
- Creating PBIs witk GTK/Pango programs
- How can I add and remove a line in a file?
- How can I substitute each instance of a variable in a file?
- How can I substitute each instance of a variable in a file?
- How to grab a PID?
- How can I interact with the user during the installation of a PBI?
- How can I find out the language of the user?
- How to find the version of an installed package?
- How to create a Digikam PBI?
- How to create a lighttpd PBI?
- How to create a PBI of an icon theme?
- How to display the progress of a file download in real time?
- How to prevent PBIs from breaking after a PC-BSD upgrade?
- Is there a tool to fetch libraries automatically?
- How can I uninstall a PBI from a shell script?
- How can I detect the version of a user's system?
- How to give the option to leave/delete the settings folder when uninstalling a PBI?
- How can I check if a required PBI is already installed?
- Where do I find custom graphics for the PBI Installer?
- How to create a Zend Studio PBI?
- How to integrate WINE applications visually with PC-BSD?
- How to create a Frozen Bubble PBI?
- How can I let the user launch a PBI upon completion?
- How to create an Apache PBI?
- How to start Apache using different file/directory locations?
Tags
Sticky FAQs
PBI Tutorials
ID #1180
How to start Apache using different file/directory locations?
It is possible to start Apache using different directory and file locations for its root directory and for httpd.conf. Here's what you can do:
# /Programs/Apache2.2.3/.sbin/apachectl -f /Programs/Apache2.2.3/etc/apache22/httpd.conf -d /Programs/Apache2.2.3/ -k start &
The -f option defines the location of httpd.conf, the -d option specifies an alternate initial ServerRoot, -k is used to tell Apache what to do (start, restart, etc...), and the & is used to retrieve the command prompt.
Tags: -
Related entries:
- How do I grab the source to rebuild my kernel?
- How can I use Grub in PC-BSD to manage several operating systems?
- Can i use Winamp skins with Xmms?
- How can i populate the ports tree?
- How can I change the refresh rate of my monitor?
Last update: 2007-10-26 20:05
Author: Charles-André Landemaine
Revision: 1.0
You can comment this FAQ