Forum Replies Created

Viewing 15 replies - 16 through 30 (of 41 total)
  • I think a change within the .htaccess would allow the www to be used, but it may also play a role in the subdomains as well…www.<subdomain>.<domain>.<tld> won’t work properly…

    Thread Starter DJTwittr

    (@djtwittr)

    I am very “anti” command line… how do I get to the point of editing the vhost.conf (in ssh) and are the later commands a change in directory? I used SSH FTP to upload the vhost.conf in the first place, but I realize this may be an error too to a point… I just want this to work, as it looks like it is “working” for the most part….

    sidenote:
    I think vi is all that comes installed (I haven’t added nano)

    Thread Starter DJTwittr

    (@djtwittr)

    the below file is located “here”:/var/www/vhosts/pinnaclenetworking.com/conf/

    <IfModule mod_ssl.c>
    
    <VirtualHost 74.208.67.xxx:443>
    	ServerName   pinnaclenetworking.com:443
    	ServerAlias  .pinnaclenetworking.com
    	UseCanonicalName Off
    		SuexecUserGroup         user psacln
    	ServerAdmin  [email protected]
    	DocumentRoot /var/www/vhosts/pinnaclenetworking.com/httpdocs
    	CustomLog  /var/www/vhosts/pinnaclenetworking.com/statistics/logs/access_ssl_log plesklog
    	ErrorLog  /var/www/vhosts/pinnaclenetworking.com/statistics/logs/error_log
    <IfModule mod_userdir.c>
    	UserDir /var/www/vhosts/pinnaclenetworking.com/web_users
    </IfModule>
    	ScriptAlias  /cgi-bin/ /var/www/vhosts/pinnaclenetworking.com/cgi-bin/
    	Alias  /plesk-stat /var/www/vhosts/pinnaclenetworking.com/statistics/
    	<Location  /plesk-stat/>
    		Options +Indexes
    	</Location>
    	<Location  /plesk-stat/logs/>
    		Require valid-user
    	</Location>
    	Alias  /webstat /var/www/vhosts/pinnaclenetworking.com/statistics/webstat
    	Alias  /webstat-ssl /var/www/vhosts/pinnaclenetworking.com/statistics/webstat-ssl
    	Alias  /ftpstat /var/www/vhosts/pinnaclenetworking.com/statistics/ftpstat
    	Alias  /anon_ftpstat /var/www/vhosts/pinnaclenetworking.com/statistics/anon_ftpstat
    	Alias  /awstats-icon /var/www/html/awstats/icon
    	SSLEngine on
    	SSLVerifyClient none
    	SSLCertificateFile /usr/local/psa/var/certificates/certIJ18097
    	<Directory /var/www/vhosts/pinnaclenetworking.com/httpdocs>
    	<IfModule mod_perl.c>
    	<Files ~ (\.pl$)>
    		SetHandler perl-script
    		PerlHandler ModPerl::Registry
    		Options ExecCGI
    		allow from all
    		PerlSendHeader On
    	</Files>
    	</IfModule>
    	<IfModule mod_perl.c>
    	<Files ~ (\.asp$)>
    		SetHandler perl-script
    		PerlHandler Apache::ASP
    		PerlSetVar Global /tmp
    	</Files>
    	</IfModule>
    	<IfModule sapi_apache2.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/pinnaclenetworking.com/httpdocs:/tmp"
    	</IfModule>
    	<IfModule mod_php5.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/pinnaclenetworking.com/httpdocs:/tmp"
    	</IfModule>
    	<IfModule mod_fcgid.c>
    		<Files ~ (\.fcgi)>
    			SetHandler fcgid-script
    			Options +FollowSymLinks +ExecCGI
    		</Files>
    	</IfModule>
    		SSLRequireSSL
    		Options +Includes +ExecCGI
    	</Directory>
    	<Directory /var/www/vhosts/pinnaclenetworking.com/web_users>
    	<IfModule sapi_apache2.c>
    		php_admin_flag engine off
    	</IfModule>
    	<IfModule mod_php5.c>
    		php_admin_flag engine off
    	</IfModule>
    	</Directory>
    </VirtualHost>
    
    </IfModule>
    
    <VirtualHost 74.208.67.xxx:80>
    	ServerName   pinnaclenetworking.com:80
    	ServerAlias  *.pinnaclenetworking.com
    	UseCanonicalName Off
    	SuexecUserGroup         user psacln
    	ServerAdmin  "[email protected]"
    	DocumentRoot /var/www/vhosts/pinnaclenetworking.com/httpdocs
    	CustomLog  /var/www/vhosts/pinnaclenetworking.com/statistics/logs/access_log plesklog
    	ErrorLog  /var/www/vhosts/pinnaclenetworking.com/statistics/logs/error_log
    <IfModule mod_userdir.c>
    	UserDir /var/www/vhosts/pinnaclenetworking.com/web_users
    </IfModule>
    	ScriptAlias  /cgi-bin/ /var/www/vhosts/pinnaclenetworking.com/cgi-bin/
    	Redirect permanent /plesk-stat https://pinnaclenetworking.com/plesk-stat
    	Redirect permanent /webstat https://pinnaclenetworking.com/webstat
    	Redirect permanent /webstat-ssl https://pinnaclenetworking.com/webstat-ssl
    	Redirect permanent /ftpstat https://pinnaclenetworking.com/ftpstat
    	Redirect permanent /anon_ftpstat https://pinnaclenetworking.com/anon_ftpstat
    	Redirect permanent /awstats-icon https://pinnaclenetworking.com/awstats-icon
    	<IfModule mod_ssl.c>
    		SSLEngine off
    	</IfModule>
    	<Directory /var/www/vhosts/pinnaclenetworking.com/httpdocs>
    	<IfModule mod_perl.c>
    	<Files ~ (\.pl$)>
    		SetHandler perl-script
    		PerlHandler ModPerl::Registry
    		Options ExecCGI
    		allow from all
    		PerlSendHeader On
    	</Files>
    	</IfModule>
    	<IfModule mod_perl.c>
    	<Files ~ (\.asp$)>
    		SetHandler perl-script
    		PerlHandler Apache::ASP
    		PerlSetVar Global /tmp
    	</Files>
    	</IfModule>
    	<IfModule sapi_apache2.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/pinnaclenetworking.com/httpdocs:/tmp"
    	</IfModule>
    	<IfModule mod_php5.c>
    		php_admin_flag engine on
    		php_admin_flag safe_mode off
    		php_admin_value open_basedir "/var/www/vhosts/pinnaclenetworking.com/httpdocs:/tmp"
    	</IfModule>
    	<IfModule mod_fcgid.c>
    		<Files ~ (\.fcgi)>
    			SetHandler fcgid-script
    			Options +FollowSymLinks +ExecCGI
    		</Files>
    	</IfModule>
    		Options +Includes +ExecCGI
    	</Directory>
    	<Directory /var/www/vhosts/pinnaclenetworking.com/web_users>
    	<IfModule sapi_apache2.c>
    		php_admin_flag engine off
    	</IfModule>
    	<IfModule mod_php5.c>
    		php_admin_flag engine off
    	</IfModule>
    	</Directory>
    	Include /var/www/vhosts/pinnaclenetworking.com/conf/siteapp.d
    </VirtualHost>

    and in this vhost.conf I have another “made subdomain” for another project, is this borking the “read”?

    AddType x-mapp-php5 .php
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    Host	Record type	Value
    	*.pinnaclenetworking.com.	A	74.208.67.187
    	*.webmail.pinnaclenetworking.com.	CNAME	pinnaclenetworking.com.
    	74.208.67.187 / 24	PTR	pinnaclenetworking.com.
    	ftp.pinnaclenetworking.com.	CNAME	pinnaclenetworking.com.
    	im.pinnaclenetworking.com.	A	74.208.67.187
    	mail.pinnaclenetworking.com.	A	74.208.67.187
    	ns.pinnaclenetworking.com.	A	74.208.67.187
    	pinnaclenetworking.com.	NS	ns.pinnaclenetworking.com.
    	pinnaclenetworking.com.	A	74.208.67.187
    	pinnaclenetworking.com.	MX (10)	mail.pinnaclenetworking.com.
    	webmail.pinnaclenetworking.com.	A	74.208.67.187
    	www.pinnaclenetworking.com.	CNAME	pinnaclenetworking.com.

    I have even since removed the im.pinnacle…. subdomain…and removed the ref from the vhost.conf

    Tony, are you using JWplayer in another folder from the root? I think this may be a JWplayer issue and not a permission problem

    Tony, are you using JWplayer in another folder from the root? I think this may be a JWplayer issue and not a permission problem

    I am using multisite… yes… which is why I posted that the conig.php was modified as required….

    Server Root	/etc/httpd
    Loaded Modules	core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_version mod_fcgid mod_perl mod_php5 mod_proxy_ajp mod_python mod_ssl

    I too am having issues, however, I think I can see your problem… the subdomain receives no www in the url… your addon would be addon.domain.com and the original would be domain.com

    Now, my issue dives even deeper… mod_rewrite is loaded in apache…. htaccess is added as needed…wp-config.php modified… and blogs.dir is created and chowned… now my “addon” domain does not work. My site can be seen here: https://pinnaclenetworking.com and my only live sub created is qc.pinnaclenetworking.com

    To add a little to my last post, I also added now a subdomain in plesk….plus I manually added the folders within the blogs.dir (site #) and (files)

    Ok, I am on a 1and1 VPS (something that should be optimal to wpmu) I added the network without a hitch… and users can register… and to control spam I am not allowing users to register blogs. However, I want to create a second blog for me for another project, but I cannot get the domain to resolve… well…it resolves with the default server page for the subdomain…. is the wildcard actually working, but it thinks I just created a “true subdomain” on the host? I have added the ServerAlias on the httpd.conf (right under a listing for ServerAdmin info… and I even chmodded and chowned the blogs.dir the same as the wp-config folder…. what is stopping this from working, I had it working great on a stupid webhost so this should not be an issue here.

    Ok, I’ve modified P2 and added it to my theme, here https://blog.twittrblog.com the only issue is the thick box, I’ve added what esmi posted but the media buttons pop up in a new window. Of course I am trying this in chrome, but didn’t know if there was any other issue that I need to fix can anyone help?

    Ok, I’ve modified P2 and added it to my theme, here https://blog.twittrblog.com the only issue is the thick box, I’ve added what esmi posted but the media buttons pop up in a new window. Of course I am trying this in chrome, but didn’t know if there was any other issue that I need to fix can anyone help?

    possibly…and I am just pulling something out of my butt… but is there an “if” with admin credentials on the static page????

    awesome…thx… I was getting the same ??

    Ok, I am good with a core edit to disable the theme/plugin editors, but what line number do you change to disable this? or is it as simple as renaming the file?

Viewing 15 replies - 16 through 30 (of 41 total)