Raised This Month: $51 Target: $400
 12% 

SourceBans 2.0 Alpha (2013/09/04)


Post New Thread Reply   
 
Thread Tools Display Modes
lyric
Veteran Member
Join Date: Sep 2012
Old 07-05-2013 , 11:44   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #71

Quote:
Originally Posted by DJ Tsunami View Post
if you click anywhere on that red line it should open a new pane to the right, which has a Response tab.
That gave me the error turns out I had forgotten to grant access to user@localhost where all I did was grant access to [email protected] looks to be working now Thanks
__________________

Last edited by lyric; 07-05-2013 at 11:50.
lyric is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-05-2013 , 11:49   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #72

Great, glad it's working
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 07-05-2013 , 11:50   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #73

new problem. when i click login it tries to load an invalid link

Code:
http://mywebsite.com/bans/index.php/login
is that supposed to happen?
__________________
lyric is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-05-2013 , 11:55   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #74

That's a valid link, is it not working? http://bans-beta.rts-server.net/index.php/login works.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 07-05-2013 , 11:57   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #75

Quote:
Originally Posted by DJ Tsunami View Post
That's a valid link, is it not working? http://bans-beta.rts-server.net/index.php/login works.
Yeah it's not working for me. I get error 404 Not Found when i follow links like that. maybe its nginx configuration problem? maybe ritis can help if he's around. thanks
__________________
lyric is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 07-05-2013 , 11:59   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #76

Quote:
Originally Posted by lyric View Post
Yeah it's not working for me. I get error 404 Not Found when i follow links like that. maybe its nginx configuration problem? maybe ritis can help if he's around. thanks
Code:
	location / {
	index index.php;

	if (!-e $request_filename){
		rewrite ^(.*)$ /index.php;
		}
	}
Rytis is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 07-05-2013 , 12:03   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #77

Quote:
Originally Posted by Rytis View Post
Code:
	location / {
	index index.php;

	if (!-e $request_filename){
		rewrite ^(.*)$ /index.php;
		}
	}
That didn't seem to work. I am using this right now.

Code:
    index index.php home.php index.html index.htm;
  
    # use fastcgi for all php files
    location ~ \.php$
    {
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
__________________
lyric is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 07-05-2013 , 12:05   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #78

Quote:
Originally Posted by lyric View Post
That didn't seem to work. I am using this right now.

Code:
    index index.php home.php index.html index.htm;
  
    # use fastcgi for all php files
    location ~ \.php$
    {
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
Try this one:

Code:
server {
	listen 80;
	server_name bans-beta.rts-server.net;
	root /var/www/rts-server.net/bans-beta.rts-server.net;
	client_max_body_size 20M;

	location ~ \.php$ {
		try_files $uri =404;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        include /etc/nginx/fastcgi_params;
    }

	location ~* ^.+.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt)$ {
		access_log        off;
		expires           max;
	}

	location / {
	index index.php;

	if (!-e $request_filename){
		rewrite ^(.*)$ /index.php;
		}
	}

	location ^~ /application {
		allow 127.0.0.1;
		return 403;
		deny all;
	}

	location ^~ /framework {
		allow 127.0.0.1;
		return 403;
		deny all;
	}

	location ^~ /themes/bootstrap/views {
		allow 127.0.0.1;
		return 403;
		deny all;
	}

	location = /favicon.ico {
		log_not_found off;
	}

	gzip             on;
	gzip_min_length  1000;
	gzip_proxied     any;
	gzip_types text/plain text/css text/xml application/x-javascript application/xml application/xml+rss text/javascript;
}
Rytis is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 07-05-2013 , 12:14   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #79

Nothing works when using that config. i put my webserver details inplace of yours like location and domain name
__________________
lyric is offline
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 07-05-2013 , 12:23   Re: SourceBans 2.0 Public Preview (2013/07/01)
Reply With Quote #80

What does the error log say to the 404 error?
I'm using for every subdomain an extra file
Rytis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode