|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
I have installed Apache on solaris. When I give http://mydomainname I am getting a dialogbox saying open it/save it. The browser is unable to show the file.
Also I want to know how to setup virtual directories so that I can call my scripts in my public_html directory as .. http://mydomainname/~username/sample.php Thanks in advance Saradhi |
|
#2
|
|||
|
|||
|
>>When I give http://mydomainname I am getting a dialogbox saying open it/save it
Because your index file is probably a php file or some other extension which Apache can't understand it. In most case, adding "AddType application/x-httpd-php .php .php4" to your httpd.conf should solve the problem. >>so that I can call my scripts in my public_html directory as .. http://mydomainname/~username/sample.php You already replied to your own question. For default configuration, if your script is in /home/saradhi/public_html/sample.php, then you call it at http://mydomainname/~saradhi/sample.php BTW, please don't cross-post. [This message has been edited by freebsd (edited November 25, 2000).] |
|
#3
|
|||
|
|||
|
thank u for the early reply.
I have the same seeting in my httpd.conf file, but it still coming the same. I am working on Solaris 2.7, and my account is created as /usr/saradhi... Will that make any difference???? Saradhi |
|
#4
|
|||
|
|||
|
>>my account is created as /usr/saradhi...
Will that make any difference???? No. You just need to make sure you have a directory block like this in your httpd.conf <Directory /usr/*/public_html> ... </Directory> If adding the AddType line and do a HUP to Apache, you still got the save as prompt, then the problem is something else about your PHP. You need to provide alot more details. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Problems running Apache on Solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|