1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

About Me

Basic Information

About me
I 'm linuxer lover, my dream opensource must be first operating system, in the world

Whereabouts

State / Province
jawa timur
City / Town
malang
Country
Indonesia

Web Links

Facebook
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Web Site
This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Connections

7 connections
  • azmy
  • kfox
  • Rudy Armann
  • tosika
  • blegedes
  • Andi Micro
  • Tim Burgess
dwi chandra
dwi chandra
  • Karma
  • Member since
  • Sunday, 20 December 2009 09:18
  • Last online
  • 542 days ago
  • Profile views
  • 980 views
2 weeks ago
Andi Micro replied to the topic Re: Virtual host Problem in the forums.
Tim,

This is my flex-80
Code:


[root@smpn1-bjb ~]# vi /etc/httpd/conf.d/flex-80.conf
#----------------------------------------------------------------
# WARNING: This file is automatically created by webconfig.
#----------------------------------------------------------------

# Authentication mechanism
DefineExternalAuth pwauth pipe /usr/bin/pwauth
DefineExternalGroup pwauth pipe /usr/bin/unixgroup

ScriptAlias /flexshare/elearning/cgi-bin/ /var/flexshare/shares/elearning/cgi-bin/
Alias /flexshare/elearning /var/flexshare/shares/elearning

<VirtualHost *:80>
__FBTAB__ServerName elearning.smpn1-bjb.sch.id
__FBTAB__DocumentRoot /var/flexshare/shares/elearning
__FBTAB__ScriptAlias /cgi-bin/ /var/flexshare/shares/elearning/cgi-bin/
__FBTAB__ErrorLog /var/log/httpd/smpn1-bjb.sch.id_error_log
__FBTAB__CustomLog /var/log/httpd/smpn1-bjb.sch.id_access_log common
</VirtualHost>

<Directory /var/flexshare/shares/elearning/cgi-bin>
__FBTAB__Options +ExecCGI
</Directory>

<Directory /var/flexshare/shares/elearning>
__FBTAB__Options -Indexes -FollowSymLinks -IncludesNOExec
__FBTAB__AllowOverride All
__FBTAB__Order deny,allow
__FBTAB__Allow from all
__FBTAB__AddType text/html .php
__FBTAB__AddHandler php5-script .php
</Directory>
ScriptAlias /flexshare/eschool/cgi-bin/ /var/flexshare/shares/eschool/cgi-bin/
Alias /flexshare/eschool /var/flexshare/shares/eschool

<VirtualHost *:80>
__FBTAB__ServerName eschool.smpn1-bjb.sch.id
__FBTAB__DocumentRoot /var/flexshare/shares/eschool
__FBTAB__ScriptAlias /cgi-bin/ /var/flexshare/shares/eschool/cgi-bin/
__FBTAB__ErrorLog /var/log/httpd/smpn1-bjb.sch.id_error_log
__FBTAB__CustomLog /var/log/httpd/smpn1-bjb.sch.id_access_log common
</VirtualHost>

<Directory /var/flexshare/shares/eschool/cgi-bin>
__FBTAB__Options +ExecCGI
</Directory>

<Directory /var/flexshare/shares/eschool>
__FBTAB__Options -Indexes -FollowSymLinks -IncludesNOExec
__FBTAB__AllowOverride All
__FBTAB__Order deny,allow
__FBTAB__Allow from all
__FBTAB__AddType text/html .php
__FBTAB__AddHandler php5-script .php
</Directory>
ScriptAlias /flexshare/sisfokol/cgi-bin/ /var/flexshare/shares/sisfokol/cgi-bin/
Alias /flexshare/sisfokol /var/flexshare/shares/sisfokol

<VirtualHost *:80>
__FBTAB__ServerName sisfokol.smpn1-bjb.sch.id
__FBTAB__DocumentRoot /var/flexshare/shares/sisfokol
__FBTAB__ScriptAlias /cgi-bin/ /var/flexshare/shares/sisfokol/cgi-bin/
__FBTAB__ErrorLog /var/log/httpd/smpn1-bjb.sch.id_error_log
__FBTAB__CustomLog /var/log/httpd/smpn1-bjb.sch.id_access_log common
</VirtualHost>

<Directory /var/flexshare/shares/sisfokol/cgi-bin>
__FBTAB__Options +ExecCGI
</Directory>

<Directory /var/flexshare/shares/sisfokol>
__FBTAB__Options +Indexes -FollowSymLinks -IncludesNOExec
__FBTAB__AllowOverride All
__FBTAB__Order deny,allow
__FBTAB__Allow from all
__FBTAB__AddType text/html .php
__FBTAB__AddHandler php5-script .php
</Directory>




And for DNS server, i just fill hostname with smpn1-bjb.sch.id and server ip address.


May 05

Wall

No wall post to show

My Forum Updates

Groups

Here is a short listing of the groups that the user has registered in.