11-04-2018
No worries.
If you need to start and stop, then that's a different story.
I would do this with a PHP script with HTTP authentication (.htaccess) and a userid and password in the PHP login script.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page.
Thanks
Imtiaz (3 Replies)
Discussion started by: Imtiaz
3 Replies
2. Shell Programming and Scripting
Wish you all a very happy new year.
I have a web url "http://marabou.mis.amat.com/cgi-bin/iman?IMAN_server_report=full"
where marabou.mis.amat.com is my server name. the page content is below.
*********************************************************
TcEng Web server report
Thu Jan 4... (4 Replies)
Discussion started by: Krrishv
4 Replies
3. Solaris
Hi there. I'm trying to upgrade a Sun Blade 100 to Solaris 9.
I downloaded and burned the install, disc 1, disc 2 and tools CDs from Sun. I turned off auto-boot, put in the CD and enter the following:
# boot cdrom -nowin
The cdrom boot starts, and I get prompted to choose a language... (2 Replies)
Discussion started by: calenti
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am new to UNIX and so am struggling a bit on using the right commands.
I am working on a remote UNIX server and i need to load a web page using firefox. I can use the client IP address to access the web page but i am not able to do so because the command i am typing is wrong.
... (1 Reply)
Discussion started by: greg15
1 Replies
5. Web Development
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both,... (2 Replies)
Discussion started by: WhotheWhat
2 Replies
6. Cybersecurity
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
Discussion started by: WhotheWhat
1 Replies
7. Web Development
Hi,
I have html page in my unix machine(server), which I will open with firefox or mozilla available in unix machine. Firefox or mozilla will be opened using x windows.
Since I have access to unix machien(like other users) and this HTML page is for user having access to Unix machine, I see no... (7 Replies)
Discussion started by: vamanu9
7 Replies
8. Web Development
Hi All,
I'm getting this below error
bash-4.1$ ./apachectl -k start
(98)Address already in use: make_sock: could not bind to address hostname:18000
no listening sockets available, shutting down
Unable to open logs
I tried to change the port number, still same error:
... (5 Replies)
Discussion started by: raghur77
5 Replies
LEARN ABOUT OSX
git-instaweb
GIT-INSTAWEB(1) Git Manual GIT-INSTAWEB(1)
NAME
git-instaweb - Instantly browse your working repository in gitweb
SYNOPSIS
git instaweb [--local] [--httpd=<httpd>] [--port=<port>]
[--browser=<browser>]
git instaweb [--start] [--stop] [--restart]
DESCRIPTION
A simple script to set up gitweb and a web server for browsing the local repository.
OPTIONS
-l, --local
Only bind the web server to the local IP (127.0.0.1).
-d, --httpd
The HTTP daemon command-line that will be executed. Command-line options may be specified here, and the configuration file will be
added at the end of the command-line. Currently apache2, lighttpd, mongoose, plackup and webrick are supported. (Default: lighttpd)
-m, --module-path
The module path (only needed if httpd is Apache). (Default: /usr/lib/apache2/modules)
-p, --port
The port number to bind the httpd to. (Default: 1234)
-b, --browser
The web browser that should be used to view the gitweb page. This will be passed to the git web--browse helper script along with the
URL of the gitweb instance. See git-web--browse(1) for more information about this. If the script fails, the URL will be printed to
stdout.
start, --start
Start the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
stop, --stop
Stop the httpd instance and exit. This does not generate any of the configuration files for spawning a new instance, nor does it close
the browser.
restart, --restart
Restart the httpd instance and exit. Regenerate configuration files as necessary for spawning a new instance.
CONFIGURATION
You may specify configuration in your .git/config
[instaweb]
local = true
httpd = apache2 -f
port = 4321
browser = konqueror
modulePath = /usr/lib/apache2/modules
If the configuration variable instaweb.browser is not set, web.browser will be used instead if it is defined. See git-web--browse(1) for
more information about this.
SEE ALSO
gitweb(1)
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-INSTAWEB(1)