Mac OS X & Web Dev


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mac OS X & Web Dev
# 1  
Old 07-04-2001
Data Mac OS X & Web Dev

Could someone recommend a good book? Regarding Unix and Mac os X? I know the OS is new, but Unix ain't.

I would like to know more about setting up the webserver on my machine. All the HTML works fine, it's just when i try to execute a cgi, php or a pl script.. Smilie I have tried and tried to activate a copy of my site, on a local machine for debugin' and it always fail. Smilie

Erm. It's not the same forum as used on the live site.. I wanna run some experiments.

I left the perl location as default... is this right? If not, could soneone please post the correct place.

#!/usr/bin/perl


By trade I'm a graphic designer but due to changing times i find myself working more and more on websites.

Also... How do i know if apache is running?

Bearing in mind that i want to do this all on the same machine..

Thanks in advance. Smilie
# 2  
Old 07-04-2001
Originally posted by Chojin
Could someone recommend a good book? Regarding Unix and Mac os X? I know the OS is new, but Unix ain't.

for good unix books: http://www1.fatbrain.com/FindItNow/S...HAN515&store=1


I would like to know more about setting up the webserver on my machine. All the HTML works fine, it's just when i try to execute a cgi, php or a pl script.. Smilie I have tried and tried to activate a copy of my site, on a local machine for debugin' and it always fail. Smilie

You didn't specified what exatly happening when u trying to execute cgi. is it giving "internal server error" or is it displays cgi code as it is in browser. If its internal server error its problem with your script. May be wrong path to perl or forgot to print html header before rediricting any output to browser or any other kind of script error. First make sure script is working by executing at commandline. If you see CGI file content as it is in your browser you have to do some work in your httpd.conf file.


I left the perl location as default... is this right? If not, could soneone please post the correct place.

type 'whereis perl' at commandline. It will return path where perl resides in your system


Also... How do i know if apache is running?

Simple way is to try access webserver using browser.
or ps -aux | grep httpd


HTH

Last edited by mib; 07-04-2001 at 03:13 AM..
# 3  
Old 07-04-2001
Hay man, thanks...

Guess i'll be spending my summer reading stuff...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

Ravinder Singh Just Earned His Green Web Dev Ops Badge

Congrats to Ravinder Singh for his new Green Web Dev Ops badge. Everyone starts to learn and grown in technology and Ravinder is starting to learn Web Dev and is making progress quickly. https://www.unix.com/members/1-albums215-picture1010.png (6 Replies)
Discussion started by: Neo
6 Replies

2. AIX

Housekeeping null 2>&1 in /dev

Hello, Does anyone know how to housekeeping the null 2>&1 file in /dev? its fill up my system, please help. Thanks :b: (3 Replies)
Discussion started by: only
3 Replies

3. AIX

Size of file /dev/./null 2>&1

Hello Can I just remove/delete flile ? rw-r--r-- 1 root system 2385088512 Jun 30 21:25 /dev/null 2>&1 size of this flile is 2274.75 m and fill up my filesystem: Filesystem MB blocks Used Free %Used Mounted on /dev/hd4 2560.00 2558.59 1.41 100% / (10 Replies)
Discussion started by: primo102
10 Replies

4. UNIX for Dummies Questions & Answers

/dev/null 2>&1 Versus /dev/null 2>1

How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&" echo "hello" > /dev/null 2>&1 echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies

5. Shell Programming and Scripting

Difference between ">/dev/null 2>&1" and "2>&1 >/dev/null"

Does >/dev/null 2>&1 and 2>&1 >/dev/null mean the same? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

6. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

7. UNIX for Dummies Questions & Answers

/dev/null 2>&1 question

Hi, suppose you have the following line at your crontab : 5 * * * * /usr/mine/script > /dev/null 2>&1 now i understood that the " > /dev/null 2>&1 outputs both Standard outpout and Standard Error messages to the /dev/null device or file... the first part , " > /dev/null " transfers... (1 Reply)
Discussion started by: BAM
1 Replies

8. UNIX for Dummies Questions & Answers

/dev/hd* ?? & HTFS .... What is this stuff?

# grep "Jul 3" syslog.messages | more Jul 3 00:16:03 www3 CPU3: NOTICE: HTFS: No space on dev hd (1/42) Jul 3 00:16:08 www3 CPU3: NOTICE: HTFS: No space on dev hd (1/42) Jul 3 00:17:01 www3 CPU2: NOTICE: HTFS: No space on dev hd (1/42) Jul 3 00:17:06 www3 syslogd: /usr/adm/debug: No space... (1 Reply)
Discussion started by: Cameron
1 Replies
Login or Register to Ask a Question