Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 a /triadcp alias for the Apache2TriadCP
Google
Post new topic Reply to topic
Author Message
imagedesigns
 
 


Joined: 26 May 2005
Posts: 3

PostPosted: Thu May 26, 2005 7:19 am Reply with quoteBack to top

hi, i have just reinstalled my entire server setup using triad2. originally i did each one individually. everything works great now but i was attempting to run the control panel and keep getting these errors:

Quote:
[an error occurred while processing this directive]


it shows up in 2 places: on the left table where it should say the number of visits and in the place of the services/processes content.

i've been doing some investigating and it could be something to do with the alias i setup for this folder. currently my document root was changed to a folder on a seperate partition and i have setup aliases for each of the folders that are in the htdocs folder (apache2triadcp, awstats, phpmyadmin...) phpmyadmin and awstats work fine now after some changes to the alias directory options which now look like this:

Quote:
Alias /awstats "f:/apache2triad/htdocs/awstats"

<Directory "f:/apache2triad/htdocs/awstats">
Options Indexes FollowSymLinks MultiViews IncludesNoExec ExecCGI
AddOutputFilter Includes .cgi
Order allow,deny
Allow from all
</Directory>


in testing they have both been set to the same and awstats works as far as i can tell but the control panel does not..

Quote:
#APACHE 2 TRIAD CP
Alias /triadcp "f:/apache2triad/htdocs/apache2triadcp"

<Directory "f:/apache2triad/htdocs/apache2triadcp">
Options Indexes FollowSymLinks MultiViews IncludesNoExec ExecCGI
AddOutputFilter Includes .cgi
Order allow,deny
Allow from all
</Directory>


i would really appreciate some help on this one if anyone has the time/ knowledge.. thanks in advance
View user's profileSend private message
LiquidSnake
past contributor
past contributor


Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

PostPosted: Thu May 26, 2005 10:31 am Reply with quoteBack to top

Quote:
Alias /awstats "f:/apache2triad/htdocs/awstats"

<Directory "f:/apache2triad/htdocs/awstats">
Options Indexes FollowSymLinks MultiViews IncludesNoExec ExecCGI
AddOutputFilter Includes .cgi
Order allow,deny
Allow from all
</Directory>


Does really nothing ... the url would be

http://domain.com/awstats

by default the url is

http://domain.com/awstats



Quote:
#APACHE 2 TRIAD CP
Alias /triadcp "f:/apache2triad/htdocs/apache2triadcp"

<Directory "f:/apache2triad/htdocs/apache2triadcp">
Options Indexes FollowSymLinks MultiViews IncludesNoExec ExecCGI
AddOutputFilter Includes .cgi
Order allow,deny
Allow from all
</Directory>


why not just rename apache2triadcp to triadcp ?
View user's profileSend private messageSend e-mailYahoo Messenger
imagedesigns
 
 


Joined: 26 May 2005
Posts: 3

PostPosted: Thu May 26, 2005 1:15 pm Reply with quoteBack to top

yes as far as i know they both do something.i may have failed to mention that i changed my document root so that is y i needed to add these aliases.

any other ideas?
View user's profileSend private message
LiquidSnake
past contributor
past contributor


Joined: 23 May 2004
Posts: 267
Location: Middlesboro, KY

PostPosted: Thu May 26, 2005 3:22 pm Reply with quoteBack to top

Code:
Alias /cp/ "F:/apache2triad/htdocs/apache2triadcp/"

<Directory "F:/apache2triad/htdocs/apache2triadcp/">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


add that to the end of your httpd.conf file ..

your directive seems ok, but it is not accepting it, possbly an open directory directive thats no been closed??? check all <Directory> has </Directory> closing it ...

only other times I seen a directory directive problem is when the directory didn't exist, or a unclosed directory directive..

awhile back there was issues regarding an a2t install across multiple drives, not really sure what came from it.. May have been a privelege issue ..
View user's profileSend private messageSend e-mailYahoo Messenger
imagedesigns
 
 


Joined: 26 May 2005
Posts: 3

PostPosted: Fri May 27, 2005 1:54 am Reply with quoteBack to top

thanks for the help liquidsnake.. this is what it needed to be changed too

<Directory "f:/apache2triad/htdocs/apache2triadcp">
AddType text/html .html
AddHandler server-parsed .html
Options Indexes FollowSymLinks MultiViews Includes ExecCGI

AllowOverride None
Order allow,deny
Allow from all
</Directory>

the bolded lines are what really made the difference, thans again for all ur help
View user's profileSend private message
coth
 
 


Joined: 03 Sep 2005
Posts: 1

PostPosted: Sat Sep 03, 2005 6:14 pm Reply with quoteBack to top

Hello.

I was thinking of subdomain for \apache2triad\htdocs\ as well

Once I made it as admin.localhost (while localhost and my domain was worked on my own webroot). I don't remember what i did changed now.

I got everything worked, but except of statistics.


Now i did installed 1.5.3. So thinking of this thing again.

Maybe anyone else did it?


edit 04 sep.:
well, ok, if nobody know - another question - can i close access to /traidcp alias for everyone, except of 127.0.0.1?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Sun Sep 04, 2005 3:04 pm Reply with quoteBack to top

I just use an alias folder like how you started in this thread
Code:
SetEnvIf REFERER !^https?://(www\.)?yoursite\.no-ip\.com/ linked_from_here
SetEnvIf REFERER "yoursite\.no-ip\.com" linked_from_here
SetEnvIf REFERER "^$" linked_from_here

Alias /admin "C:/apache2triad/htdocs/apache2triadcp"
<Directory C:/apache2triad/htdocs/apache2triadcp>
    Order deny,allow
    Deny from all
    Allow from env=linked_from_here
</Directory>


and if you want to separate localhost from your othersites in awstats, you could use virtualhosts one for each site, and one for localhost

Code:
#localhost
<VirtualHost localhost:80>
   ServerAdmin admin@jaydium.servehttp.com
   DocumentRoot c:/apache2triad/htdocs
   ServerName localhost
   ErrorLog logs/localhost_error.log
   CustomLog logs/localhost_access.log common
   #uncomment next line if you want to disable mod_security for localhost
   #SecFilterEngine Off
</VirtualHost>
View user's profileSend private messageYahoo MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT